M BUZZ CRAZE NEWS
// general

node:internal/modules/cjs/loader:936

By Emma Martinez

After install Node.js and NPM with commands (sudo apt update && sudo apt upgrade, sudo apt install nodejs (v16.7.0), sudo apt install npm(7.20.3)) in Ubuntu 20.04, I receive message bellow :

node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module '/Aula02/aula02.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []

Thanks.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy