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
0
votes
2 answers

I'm starting to make a little puzzle game with Pygame on Replit and i'm struggling with multiple objects

So I have the player and two boxes that I am trying to independently move around, if a box is behind another box, then when one is pushed, they will both be pushed, and I know why, I just don't know how to fix it. Any help would be appreciated. I…
DeadLead
  • 19
  • 3
0
votes
1 answer

Replit not able to use libuuid.so.1 system level package

I am working on replit to start my LLM Chain based work but it is throwing me the issue of this libuuid.so.1 system level package do not exist despite on using the find command and getting the locations Issue Image 1 Issue image 2 Even on getting…
0
votes
0 answers

How to configure run command in replit using node.js to make the different files executed separately without updating configuration manually overtime

Problem I use replit to practice code online while creating files to refer to each object in my programming study. But whenever I opened a different file and intended to run it in console (not shell), it can only run the default file that I've…
0
votes
0 answers

Discord.py Ticket Bot Error: Bot all the time it replies "Sorry, I couldn't find you on the server."

from discord.ext import commands intents = discord.Intents.default() intents.typing = False intents.presences = False bot = commands.Bot(command_prefix='!', intents=intents) tickets = {} class Ticket: def __init__(self, user): …
0
votes
0 answers

MongoDB Connection Issue When Hosting Node.js App on Replit and Heroku

I've created a simple Node.js project that uses MongoDB for storing data. Locally, everything works perfectly fine, but when I try to host my app on platforms like Replit or Heroku, I encounter MongoDB connection issues. The project is part of my…
Reggroy
  • 53
  • 5
0
votes
0 answers

How do I run a replit environment on a local computer?

I developed web automation software with Selenium, Selenium configuration on replit is different with local computers. so I want the same configuration from replit to work on the local computer too. How to do it? can you use docker? will docker…
0
votes
0 answers

What am I receiving the error java.lang.NoClassDefFoundError?

I am trying to figure out what I am doing wrong? package com.berrycalc; import java.text.NumberFormat; import java.util.Scanner; public class Main { public static void main(String[] args) { final byte MONTHS_IN_YEAR=12; final…
0
votes
0 answers

(TypeError: Connection.execute() got an unexpected keyword argument 'full_name')

def add_application_to_db(job_id, data): with engine.connect() as conn: query = text("INSERT INTO applications (full_name, email, education, work_experience, resume_url) VALUES ( :full_name, :email, :resume_url, :education,…
0
votes
0 answers

discord python bot error 400 Bad Request (error code: 50006): Cannot send an empty message

simply i am making a discord bot and i got this problem :400 Bad Request (error code: 50006): Cannot send an empty message . and here is my code: import os import discord import responses async def send_message(message, user_message, is_private): …
0
votes
0 answers

Getting error - "Failed to authenticate with the remote. Please ensure that Replit has access to this repository on GitHub." being a collaborator

Getting this error Description: I am working a web development project with a team. We have created a Github repository and the owner has added me as a collaborator. I am using replit for writing the code. Error: I have connected to github while…
0
votes
0 answers

Any way to get the text value of a key that's stored in the database? (replit node.js)

I kept trying to find a solution but couldn't find it anywhere, I'm using this for my discord bot and I want it to send the text value of a stored key in the database as a text message to discord. How do I do this?? I tried things such as…
0
votes
0 answers

How can I use google-test in Replit?

Matrix Test #include #include #include class Vector { private: int size; double* data; public: // Constructor Vector() : size(0), data(nullptr) {} Vector(int s) : size(s), data(new…
user366312
  • 16,949
  • 65
  • 235
  • 452
0
votes
0 answers

What does "repl process died unexpectedly: exit status 2 " mean?

I cannot run any code that I write, it just says that "repl process died unexpectedly: exit status 2 " but it does not indicate mistake in any line. I tried to undo the lines I wrote up to the point when the file worked normally and then I wrote…
0
votes
2 answers

I want my text to wait for a user to click

I am a beginner to Python and am having trouble with getting text to wait until the user clicks their mouse. How can I do so? what I want to do is I want to print("text") have it wait till the user clicks and then print("more text"), if that makes…
D Nagesh
  • 19
  • 3
0
votes
1 answer

Replit Node.js app Uncaught TypeError: Cannot read properties of undefined (reading 'apply')

Repo: https://github.com/jerzy-jarczynski/backend_rest_api_app I'm trying to deploy an Express.js and React application on Replit. The application is working fine on localhost, and I can also see it using the following link:…