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
After npm install, when running npm start I get this:
$ npm start
> [email protected] start
> node ./bin/www
node:internal/modules/cjs/loader:1093
throw err;
^
Error: Cannot find module 'passport-oauth2-userinfo'
Require stack:
- /home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/routes/auth.js
- /home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/app.js
- /home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/bin/www
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Module.require (node:internal/modules/cjs/loader:1157:19)
at require (node:internal/modules/helpers:119:18)
at Object.<anonymous> (/home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/routes/auth.js:3:30)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Module.require (node:internal/modules/cjs/loader:1157:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/routes/auth.js',
'/home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/app.js',
'/home/ile/src/sc2/tmp3/todos-express-oauth2-userinfo/bin/www'
]
}
Node.js v19.8.1
Also this doesn't work:
$ npm i passport-oauth2-userinfo
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/passport-oauth2-userinfo - Not found
npm ERR! 404
npm ERR! 404 'passport-oauth2-userinfo@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ile/.npm/_logs/2023-04-24T00_09_05_899Z-debug-0.log
The text was updated successfully, but these errors were encountered:
After
npm install
, when runningnpm start
I get this:Also this doesn't work:
The text was updated successfully, but these errors were encountered: