Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install npm install passport-google-oauth20 #75

Open
sihamlamssaoui opened this issue Feb 4, 2021 · 1 comment
Open

cannot install npm install passport-google-oauth20 #75

sihamlamssaoui opened this issue Feb 4, 2021 · 1 comment

Comments

@sihamlamssaoui
Copy link

TypeError: Cannot destructure property stat of 'undefined' or 'null'.
at Object. (/home/siham/.npm-global/lib/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js:2:29)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/home/siham/.npm-global/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:4:55)
at Module._compile (module.js:653:30)
/home/siham/.npm-global/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:163
throw new Error('call config.load() before reading values')
^

Error: call config.load() before reading values
at Config.get (/home/siham/.npm-global/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:163:13)
at process.errorHandler (/home/siham/.npm-global/lib/node_modules/npm/lib/utils/error-handler.js:171:32)
at emitOne (events.js:116:13)
at process.emit (events.js:211:7)
at process._fatalException (bootstrap_node.js:391:26)

@aryan4559
Copy link

Try update npm, npm update
then go for npm npm install passport-google-oauth20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants