-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not start on replit #45
Comments
replit introduce new way to fill .env file, its now on environtment tab |
i just did that, but it still show this
what i did :
|
does it log your token if do |
it says :
|
in your main.js file duh, basic js. |
sorry im new, i try to put |
does it log your token |
no, i didn't see any token when i run with that thing in my main.js |
also i've try self hosting it, and work perfectly. So i think the problem is with replit. |
Maybe you wrongly place the cofiguration in environment |
i just host it at HEROKU.com and work perfectly, is that any command for .replit file to read and run inside the code folder? so i can bash start.sh along with .env file in the same folder?
or maybe can i move .env file inside any folder and main.js still can read it? |
yes, i input : |
SOLVED so i just do
and it work prefectly ^^ |
thanks for resolving, current issue. gonna add to the code soon |
THis still doesn't work, please help, I'm a bit rusty to this. `[2022-06-17T07:42:45.419] [INFO] NOTEBLOCK - [REPLIT ENVIRONMENT DETECTED] [STARTING WEBSERVER] Error [TOKEN_INVALID]: An invalid token was provided.
npm WARN lifecycle The node binary used for scripts is /usr/bin/node but npm is using /home/runner/noteblock/node_modules/node/bin/node itself. Use the
65 packages are looking for funding found 0 vulnerabilities [2022-06-17T07:43:21.975] [INFO] NOTEBLOCK - [REPLIT ENVIRONMENT DETECTED] [STARTING WEBSERVER] Error [TOKEN_INVALID]: An invalid token was provided. npm ERR! A complete log of this run can be found in: |
Nope, you did it wrong, |
this is not valid. env should be |
i can't run in replit, it always says [Symbol(code)]: 'TOKEN_INVALID']
because i can't rename .env.scheme to .env
how to solve it?
The text was updated successfully, but these errors were encountered: