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
4
votes
1 answer

Axios gives AxiosError: connect ECONNREFUSED 0.0.0.0:443. How to fix this?

I am trying to fetch the list of torrent links from nyaa.si RSS files. I am using Axios to fetch data from nyaa.si. I am trying to host the app on replit it works on other places but it doesn't work on replit. I wonder if replit has blacklisted…
3
votes
0 answers

When I built Unity video game with Webgl it gives me an error

I have recently Used Unity to create this simple game: And I built it with WebGl: but sadly it gives me this error message: "Unable to parse Build/Game.framework.js.br! This can happen if build compression was enabled but web server hosting the…
2
votes
1 answer

Discord bot not responding when being called

your text Okay, so I am having this problem while creating a discord bot for the Truth and Dare game... The bot goes online, and it has permission to be an admin, to read and send messages but it still doesn't respond to my commands, I am using…
2
votes
1 answer

Replit Regex tests. Need help in writing the regex to match

I am working on writing test cases for student problems on replit. I don't want students to have to match my output exactly for their problems, but their solutions do need to contain the correct answer. For example, here is a simple program that…
Ann Root
  • 21
  • 1
2
votes
0 answers

how to correct "cannot convert dictionary update sequence element #0 to a sequence"

Trying to get the columns of mysql to be displayed on website and this is done on replit ,but getting error saying "cannot convert dictionary update sequence element #0 to a sequence" def load_jobss_from_db(): with engine.connect() as conn: …
2
votes
0 answers

Strapi can't access admin page

STrapi page is working correctly for me on local host but when i hosted it on replit it gives these errors main.9c01de7f.js:2981 Refused to connect to 'http://localhost:1337/admin/project-type' because it violates the following Content Security…
Maaz Saeed
  • 31
  • 2
2
votes
0 answers

Timezone doesn't seem to be converting probably

I'm trying to make a function that can convert one timezone to another timezone. def SetTimezone(TimezoneIn, TimezoneOut, year, month, day, hours, minutes, seconds): local = pytz.timezone(TimezoneOut) naive =…
Yozy Opto
  • 23
  • 5
2
votes
1 answer

How can I synchronize Node and Yarn versions in my nix shell?

I have the following replit.nix file: { pkgs }: { deps = [ pkgs.nodejs-17_x pkgs.nodePackages.yarn ]; } node -v returns 17.3.1, but yarn node -v returns 14.18.3. I was able to find a corresponding NIX issue, but I am unsure…
LeoDog896
  • 3,472
  • 1
  • 15
  • 40
2
votes
0 answers

Cannot read properties of null (reading 'children') in React but in Vanilla.js works

I am doing a React App and trying to make a image slider. I am working in replit.com and in the React App the JS won't work. When I made it in a simple Repl (HTML, CSS and Vanilla.js only) works perfectly. When I try to do a query select and console…
2
votes
1 answer

How do I change my Discord Bot Status from 'Playing' to 'Watching'?

The part that I am struggling to change is: I am trying to change it from being "Playing Watching 50 members!" to just "watching 50 members!" but it still having an interval between the first status. I think the difference would be just to change…
Mark Brand
  • 23
  • 4
2
votes
1 answer

KeyError: 'set-cookie" (Replit)

I am trying to use the scratchclient module on REPLIT (python) but when i try to run this code it gives me this random error: Traceback (most recent call last): File "main.py", line 9, in session =…
DybaTube
  • 21
  • 4
2
votes
0 answers

Undetected chromedriver keeps crashing on Replit?

On Replit normal selenium works fine but undetected chromedriver (the python library) doesn't seem to work, here's my code: import undetected_chromedriver as uc driver = uc.Chrome() driver.get('https://google.com') I keep getting this…
2
votes
3 answers

Replit Discord Bot Keeps Turning Off

First off, I would like to say, I know very little coding, so please bear with me here. Introduction Despite not knowing any coding, I decided to make a discord bot for the fun of it. I also don't have any money, so I can't buy any fancy servers or…
2
votes
2 answers

Replit not installing dependencies

I tried to use replit as an online host as a temporary solution before finding a free hosting service. However, as i try to install dependencies there, I get an error code something like this: Traceback (most recent call last): File…
Aadit John
  • 35
  • 3
2
votes
1 answer

"pygame.error: No available video device" on Repl

I keep receiving Error: pygame.error: No available video device. This works on python default IDLE that comes when installing python 3.10 on Windows but doesn't work with Replit(Online IDLE). I installed pygame into Relpit as you can see here I'm…
Ash
  • 21
  • 2
1
2 3
23 24