You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Jony\web-api-auth-examples\authorization_code\app.js
←[90m at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:804:27)←[39m
←[90m at Module.require (node:internal/modules/cjs/loader:1022:19)←[39m
←[90m at require (node:internal/modules/cjs/helpers:102:18)←[39m
at Object. ←[90m(C:\Users\Jony\web-api-auth-examples\authorization_code\←[39mapp.js:10:15←[90m)←[39m
←[90m at Module._compile (node:internal/modules/cjs/loader:1120:14)←[39m
←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:998:32)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:839:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: [
←[32m'C:\Users\Jony\web-api-auth-examples\authorization_code\app.js'←[39m
]
}
``
The text was updated successfully, but these errors were encountered:
you are probably just missing the npm package.
Start a powershell session in the project directory and run the command npm install.
you should see how node package manager installs express
Hi , some one can help please ?
Thanks .
`` Node.js v18.6.0
C:\Users\Jony\web-api-auth-examples\authorization_code>node app.js
node:internal/modules/cjs/loader:959
throw err;
^
Error: Cannot find module 'express'
Require stack:
←[90m at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:804:27)←[39m
←[90m at Module.require (node:internal/modules/cjs/loader:1022:19)←[39m
←[90m at require (node:internal/modules/cjs/helpers:102:18)←[39m
at Object. ←[90m(C:\Users\Jony\web-api-auth-examples\authorization_code\←[39mapp.js:10:15←[90m)←[39m
←[90m at Module._compile (node:internal/modules/cjs/loader:1120:14)←[39m
←[90m at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:998:32)←[39m
←[90m at Module._load (node:internal/modules/cjs/loader:839:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: [
←[32m'C:\Users\Jony\web-api-auth-examples\authorization_code\app.js'←[39m
]
}
``
The text was updated successfully, but these errors were encountered: