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

cb() never called! #1272

Closed
Saurabh-ux-92199 opened this issue May 10, 2020 · 10 comments
Closed

cb() never called! #1272

Saurabh-ux-92199 opened this issue May 10, 2020 · 10 comments

Comments

@Saurabh-ux-92199
Copy link

Creating a new React app in E:\myapp.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! 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-05-10T11_24_52_824Z-debug.log

Aborting installation.
npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... package.json
Deleting myapp/ from E:
Done.

@umaryusuf11
Copy link

Yes I am getting the same error. Trying to run
npm install --global expo-cli

@ivonnegattringer
Copy link

I got the same error.....

1 similar comment
@vchewjs
Copy link

vchewjs commented May 11, 2020

I got the same error.....

@vchewjs
Copy link

vchewjs commented May 11, 2020

$ npm install --global expo-cli
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @expo/config@3.2.1.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'expo-cli'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2020-05-11T16_37_58_136Z-debug.log

@vksgautam1
Copy link

Getting same error for react native
IMG_20200512_150657

@visak-se
Copy link

Getting same error for ng new and npm install npm@latest -g

@alecStewart1
Copy link

alecStewart1 commented May 13, 2020

Duplicate issues for this error it seems.

Here's the log file I have for this issue (though it tells you effectively nothing)

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i', '-g', 'pnpm' ]
2 info using npm@6.13.1
3 info using node@v13.2.0
4 verbose npm-session 8d92d997c820c4bd
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 715ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error <https://npm.community>

@alecStewart1
Copy link

Allegedly some people have seen the issue fixed running npm cache clean (or with --force as well). That has not fixed the issue for me.

@martinlockett
Copy link

5706 timing npm Completed in 20364ms
5707 error cb() never called!
5708 error This is an error with npm itself. Please report this error at:
5709 error https://npm.community

npm cache verify fixed it for me

@visak-se
Copy link

Getting same error for ng new and npm install npm@latest -g

This fixed it for me:
Uninstalled Node.js
Reboot
Installed latest stable Node.js
Reboot

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

9 participants