Open Aarhunt opened 8 years ago
open console and write
npm install request
then start server
Doesn't work
what error now?
same one
Console is CMD right?
yes.
npm install request
write this in console and press enter.
Did it
if it's installed you can't have same error omg
module.js:327 throw err; ^
Error: Cannot find module 'request'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.
Press any key to exit...
This error
i dont know how i can help you... it should work
I'll try some stuff
you just didn't install request module properly. idk why
NPM is not a valid command to the command prompt. That is the reason why it won't work.
module.js:327 throw err; ^
Error: Cannot find module 'request' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (D:\downloads\lulzyOgar-master\src\modules\CommandList.js:8:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Press any key to exit...
I get this error all the time... Pleas help me