lucy💫
lucy💫
Explore posts from servers
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
wym by that
14 replies
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
correct
14 replies
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
yes
14 replies
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
That’s the full file
14 replies
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
14 replies
RRailway
Created by lucy💫 on 2/15/2023 in #✋|help
why am I getting this error sometimes even though the code works perfectly fine?
N/A
14 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
I still don’t understand what you mean
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
I don’t have anything locally
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
I use gitpod
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
Wym
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
Still giving same error
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
?
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
I just changed the start command to node src/index.js
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
I thought I did..
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
And it’s not in a folder or anything
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
And the config.json file is for my bot token
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
Now it’s saying this
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module './config.json'
Require stack:
- /app/src/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/src/index.js:5:19)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/src/index.js' ]
}
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module './config.json'
Require stack:
- /app/src/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (/app/src/index.js:5:19)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/src/index.js' ]
}
51 replies
RRailway
Created by lucy💫 on 2/6/2023 in #✋|help
deployment crashes and says 'Error: Cannot find module '/app/index.js''
So I would change that to node src/index.js?
51 replies