can't change file name
LIKEaBORZ opened this issue · 4 comments
(rename .env.example to .env) Replit!
You can use the Secrets feature in Replit to store confidential environment variables.
-.Click the 'Lock' icon in the left panel.
-. Add a new environment variable using the 'New Secret' button.
-. Provide a name and value for the variable.
Refer to the Replit documentation for more information.
i have a new problem!
Screen: https://cdn.discordapp.com/attachments/1111001900624650270/1126602939453161673/333333333333333333333333333.png
and code
npm run start
discordbot@10.0.0 start
node . --trace-warnings
node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module 'express'
Require stack:
- /home/runner/Discord-Bot-v14/src/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:108:18)
at Object. (/home/runner/Discord-Bot-v14/src/index.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/runner/Discord-Bot-v14/src/index.js' ]
}
exit status 1
Can u help me?
"Have you run the 'npm install' command in a previous shell?"
"Have you run the 'npm install' command in a previous shell?"
not working