-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
issue from npm #2041
Comments
let me know how to solve issue |
What version of node and npm are you using? |
npm : 6.14.7 |
Can you try two things:
|
npm install -g npm@6 and npm install -g npm@7 tried installing but still failed |
If both of those failed, could you try installing the latest version of node 14, 14.13? |
If this is still a bug please open a new issue following the new issue template, including steps to reproduce so we can try to debug this better. |
npm ERR! code EINVALIDTYPE
npm ERR! typeerror Error: Argument #2: Expected array but got string
npm ERR! typeerror at EventEmitter.install (C:\Program Files\nodejs\node_modules\npm\lib\install.js:195:3)
npm ERR! typeerror at Object.commandCache. (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:156:13)
npm ERR! typeerror at C:\Program Files\nodejs\node_modules\npm\lib\link.js:93:24
npm ERR! typeerror at callback (C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:295:20)
npm ERR! typeerror at FSReqCallback.oncomplete (fs.js:176:21)
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror https://npm.community
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HP\AppData\Roaming\npm-cache_logs\2020-10-26T05_51_40_360Z-debug.log
The text was updated successfully, but these errors were encountered: