I get this problem can't find Module 'express'

internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module ‘express’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
Jump Toat Object. (/app/server.js:2:17)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)

can i get help for this problem?

also i try on another project and it working. i think the problem from the same project, maybe all modules didn’t work, any solution? or i must wait if the problem from the glitch or something?. ( I boosted my Project ) …

Hi @1SaMz!
Welcome back to the Glitch community!
Can I see your package.json file?

4 Likes

so? what happened

You kind of need to show a package.json to see what went wrong if you want us to help you.

Can you maybe try running npm i in the terminal?

not really, i can’t i got error.

i got that error
app@hallowed-caring-washer:~ 23:54
$ npm i
internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module ‘/app/node_modules/npm/bin/npm-cli.js’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)

no problem.
https://hallowed-caring-washer.glitch.me
this is my project, it’s public now.

https://hallowed-caring-washer.glitch.me

sorry to be late.

I don’t believe it is public because there is an alert saying “there is no project”

i can’t put my Link edit project on this website what can i do?.

anyway its public now.

You’ve somehow deleted NPM.

is that even possible ?

nvm if there is no solution I’ll change the project.

Lets see if i can use pnpm.

Somehow deleted npm lol

lol is that even possible ?

You might wanna wait until the container resets.