-
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
I have an error npm ERR! code EINVALIDTYPE when npm install in react app #993
Comments
Hi @tmohammad78, please provide the steps to reproduce this. |
I have node on older version , by an error for installing typescript I installed new version node and upgrade it to 13.10.1 , and after that I started my react app it was without problem but again I saw this error and I re-installed but wasn't okay. I re-installed version 12 not worked |
I am having the same issue
|
Which exact version of npm and node do you use? |
This, also replied to another thread.
|
Can not reproduce:
|
Not sure if this happens only on Windows. |
for solve it i copied my package.json from another project and i got i had a problem in my package.json file |
Ok then please close the issue. |
npm ERR! code EINVALIDTYPE
npm ERR! typeerror Error: Argument #2: Expected string but got null
npm ERR! typeerror at exports.findRequirement (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:752:3)
npm ERR! typeerror at findChild (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:122:17)
npm ERR! typeerror at computeMetadata (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:132:9)
npm ERR! typeerror at Installer.normalizeCurrentTree (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install.js:414:3)
npm ERR! typeerror at Array. (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\slide\lib\bind-actor.js:15:8)
npm ERR! typeerror at LOOP (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\slide\lib\chain.js:15:14)
npm ERR! typeerror at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\slide\lib\chain.js:18:7
npm ERR! typeerror at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install.js:368:5
npm ERR! typeerror at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\iferr\iferr.js:3:64
npm ERR! typeerror at asyncMap (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\slide\lib\async-map.js:27:18)
npm ERR! typeerror at exports.getAllMetadata (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:224:3)
npm ERR! typeerror at Installer.loadArgMetadata (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install.js:366:3)
npm ERR! typeerror at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install.js:701:16
npm ERR! typeerror at C:\Users\USER\AppData\Roaming\npm\node_modules\npm\lib\install\read-shrinkwrap.js:33:16
npm ERR! typeerror at tryCatcher (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
npm ERR! typeerror at Promise._settlePromiseFromHandler (C:\Users\USER\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:517:31)
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\USER\AppData\Roaming\npm-cache_logs\2020-03-08T18_03_24_062Z-debug.log
node version : v 13.10.1
npm version : v 6.14.2
The text was updated successfully, but these errors were encountered: