npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Error on npm install - cb() never called

What I Wanted to Do

I’m installing modules from a package.json file, running in a Windows 10 Pro, Git-bash (git version console.

What Happened Instead

I received the following message:
radtechmx@Gigantes MINGW64 /c/develop/nodejs/graphql.udemy/graphql-basics
$ npm install
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\radtechmx\AppData\Roaming\npm-cache_logs\2018-12-17T16_15_35_912Z-debug.log

Reproduction Steps


package.json contents:
“name”: “graphql-basics”,
“version”: “1.0.0”,
“description”: “”,
“main”: “index.js”,
“scripts”: {
“start”: “nodemon src/index.js --ext js,graphql --exec babel-node”,
“test”: “echo “Error: no test specified” && exit 1”
“author”: “”,
“license”: “ISC”,
“dependencies”: {
“babel-cli”: “^6.26.0”,
“babel-plugin-transform-object-rest-spread”: “^6.26.0”,
“babel-preset-env”: “^1.7.0”,
“graphql-yoga”: “^1.14.10”,
“uuid”: “^3.3.2”
“devDependencies”: {
“nodemon”: “^1.17.5”

2018-12-17T16_15_35_912Z-debug.log (510,2 KB)

Platform Info

$ npm --versions
$ node -p process.platform

This is a duplicate of [crash] npm ERR! cb() never called!