Skip to main content

All Questions

Tagged with
0 votes
0 answers
13 views

REplit + Node JS - How to override local file JSON data

My code snippet works with node js but my actual file “LOCAL_JSON_FILE_PATH” does not update with the new data. I want to remove old data from the file and import new data at set times. My code works ...
Houghtonator's user avatar
0 votes
0 answers
13 views

In Replit i am not getting any out put or blurr output

enter image description hereI am doing 100 days of code project. So i am using rep-lit to store my code.When i run my code it is showing blur(i have attached the image also). I see this blur on output ...
Ajay Tomar's user avatar
0 votes
1 answer
188 views

I am getting an error for importing replit

--> poetry add replit Using version ^3.3.2 for replit Updating dependencies Resolving dependencies... Because no versions of replit match >3.3.2,<4.0.0 and replit (3.3.2) depends on Flask (...
Coder Divyanshu's user avatar
0 votes
0 answers
15 views

How to save a variable to a database in three.js

I have made a simple game in three.js and want to be able to save a high score to a database, but anytime I try to use a database module, more specifically, the replit database, all of the three.js ...
Mason Walker's user avatar
0 votes
0 answers
14 views

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 ...
DarkBlox's user avatar
0 votes
0 answers
13 views

Why am I getting a "cannot set property of undefined" when writing to an array generated by a replit.db call? [duplicate]

This was marked duplicate for some reason. I didn't even know what the thing in the other post was called. So, my problem is that this replitdb call below (not sure if thats what it's called) somehow ...
TheComputerWizard's user avatar
0 votes
0 answers
53 views

How do I import the database from Replit with "Import" in javascript?

Id like to use import to import the database. Is this possible? import Database from "@replit/database" This doesn't work I tried that without "@" and with other variations, but ...
Venixi's user avatar
  • 1
-1 votes
1 answer
106 views

how to get raw data for a nested key in my replit database python

In the python code below, I am getting the raw data for the key "users" in my database. However I need the raw data only for the key "shares" inside of "users". How would ...
Dylan Gow's user avatar
0 votes
1 answer
442 views

Import sklearn doesn’t exist on my replit

For some odd reason when I do “import sklearn” it says ModuleNotFound or something like that. Can anyone please help? I tried going online and using bash to fix it but still didn’t work.
Anon's user avatar
  • 11
0 votes
2 answers
215 views

How do you get more storage in the Replit Database (@replit/database)?

I am distributing a product based on Replit and it’s already out of storage. I’ve seen that the Replit hacker plan can add more local storage, but I can’t find anything regarding the database. Is ...
Odiend1's user avatar
0 votes
0 answers
52 views

Why am I not able to put an object into a list?

I'm using replit for my programming here, and am trying to put an object into a list. When I try and make a new game to update my data to the default data, it tells me ValueError: Circular reference ...
TextBasedYoutube's user avatar
0 votes
1 answer
313 views

How to fix replit not loading files?

As you can see in the image below, I'm not able to open any file from replit. And the files are not being loaded in the replit.enter image description here
Bryar Laiq's user avatar
1 vote
1 answer
114 views

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 ...
JacobStr's user avatar
0 votes
0 answers
176 views

Replit Python Error "Package Operation Failed"

I installed pysqlite but this error is shown. I also cant delete packages. Even if I use a different package/no packages, this error will be shown. error msg
Niko N.'s user avatar
  • 17
-1 votes
1 answer
175 views

Count time between messages with discord.js and replit database

I've been googling for a long time now and can't find a solution. My current code: let end = new Date().getTime(); if(Msg == "test") { // ... } db.set("start", new Date().getTime(...
Doctor Vaitzman's user avatar

15 30 50 per page