Questions tagged [replit]

Replit (formerly Repl.it) is an online IDE (integrated development environment) supporting over 50 programming languages. Use this tag for questions regarding using the IDE.

replit (formerly Repl.it) is an online integrated development environment (IDE) that supports over fifty programming languages including Python, Node.js, Java, C++ and Kotlin (to name a few). It contains an editor for writing your code. It can then build your code (if required) and execute it. All online in your Web browser.

361 questions
1
vote
2 answers

ta-lib replit python install problem, ERROR: No matching distribution found for talib-binary

I use it on my windows machine by downloading its binary. I also use it in Heroku from its herokus build pack. I don't know what operating system replit use. But I try every possible commed like. !pip install ta-lib !pip install talib-binary It's…
Sushen Biswas
  • 522
  • 1
  • 6
  • 24
1
vote
0 answers

System.EntryPointNotFoundException: SetConsoleTitle assembly: type: member:(null) on Replit.com

Trying to run a small C# project with uploaded DLLs on Replit.com Uploaded my DLL (Unit4.dll). In Visual Studio on my desktop it works after I Added References to three Windows DLLs: System.Drawing.Common.dll, System.Windows.Forms.dll,…
Igal Sapir
  • 11
  • 4
1
vote
1 answer

I am trying do deploy discord bot in javascript on replit but its just replying only when i mention bot instead of any normal message

I have developed a discord bot in python but getting problems in javascript one. I have tried a few solutions from StackOverflow itself but I can't figure out how to make it work. And much confusion due to solutions available online about discord…
1
vote
1 answer

Discord bot is running but not responding to commands after using VS Code

So I was first running my code on replit.com and I decided to switch over to running it localy on my computer. I got it running on Python IDLE 3.10.1 and then I decided to run it on VS Code with the same interpreter and then I got an…
1
vote
1 answer

How do I start from the beginning of the code while keeping the string value?

I need to go to line 14 of this code after the code has finished running. How would I do that? from replit import db import getpass import sys def signup(): db["User"] = input("Enter username:\n") db["Pass"] = getpass.getpass("Enter…
Yata
  • 13
  • 3
1
vote
1 answer

Replit DB is not loading data into variables

i'm using replits database but when i try to load it in it returns an error any ideas? cookie = db[name] cookiepc = db[name + "cookiepc"] increase = db[name + "increase"] the error is Traceback (most recent call last): File "main.py", line 25, in…
JacobStr
  • 11
  • 2
1
vote
2 answers

checking when a command was last used

I have a discord bot which has a command that requires a cooldown of a week. I considered using something like @commands.cooldown, but the issue is that if the bot goes offline, that cooldown resets itself. So, a member could simply watch for when…
1
vote
1 answer

How do you prevent "unhashable type 'list'"?

So, I was making a simple 2D game in pygame, and was making the map (following a tutorial video, don't judge me, I'm new to pygame) and using replit.com, and that error showed up in the console. here's my code for it: import pygame, sys W = 0 S =…
roarg
  • 27
  • 5
1
vote
0 answers

How to connect front and back end using replit & mongodb?

I made a simple full stack app for a job application using a mern stack. The application requires the app to be deployed on replit. I was able to run my app from my laptop but I am having issue connecting my back end with my front end api calls. I…
Mayur Kumar
  • 67
  • 1
  • 5
1
vote
1 answer

CSS Not Linking To HTML Replit

I am using replit to host a chat server using Node.js and Socket.io. I used the getting started guide provided by socket.io (https://socket.io/get-started/chat), and saw that the HTML code used internal CSS. I attempted to change this and have the…
SecretDev
  • 13
  • 2
1
vote
1 answer

Array copying works in eclipse but no longer works in replit

Okay so I am going to keep this short and sweet. I'm writing this code in a group project but I did my rough work in eclipse, after pasting it into replit Arrays.copyOf gets highlighted and I don't know why. class Arrays { public static void…
1
vote
1 answer

ERROR: Could not install packages due to an OSError: [13] Permission denied: '/nix/store/8d3695w7vasap3kkcn3yk731v4iw2kcv-python3.8-pip-21.1.3/bin/pip

I've been working on one error for about an hour. I've been development an app in Nix on REPLIT. But no matter what I do this error comes while installing packages with with Python Pip: Firstly, this came up whilst installing any packages... But I…
Tyler
  • 11
  • 1
1
vote
0 answers

Replit: Why am I getting PR_END_OF_FILE_ERROR for my Django project?

I run a Django repl within Replit. However, I often cannot access the browser preview of my project because of a "PR_END_OF_FILE_ERROR" in Firefox. I also tried using Brave and Chromium, but no luck with them either: they showed an…
1
vote
1 answer

Error when trying to print string with multiple lines

I'm trying to make a tic tac toe game in Python but whenever I try to print the board, I get a weird error. Here is my code: import os from colorama import Fore board = " a b c\n | | \n1 - | - | - \n …
limegradient
  • 66
  • 10
1
vote
0 answers

How to use GitPython on Replit to do a push via Python script?

I wanna use Replit for pushing from a Python script into a Github repo of mine. On Replit I created an Python script and connected it with an Github repo. If I do this locally than I just use my local path to the repo which I wanna push. How do I…
Max Hager
  • 536
  • 4
  • 13