It is an npm 5.4.0 issue https://github.com/npm/npm/issues/18287
Workarounds are
- downgrade to 5.3
- try running with –no-optional, i.e.
npm install --no-optional
Related Posts:
- Field ‘browser’ doesn’t contain a valid alias configuration
- ‘npm’ is not recognized as an internal or external command, operable program or batch file
- npm ERR! registry error parsing json – While trying to install Cordova for Ionic Framework in Windows 8
- “You seem to not be depending on “@angular/core”.”
- npm update does not do anything
- Couldn’t find preset “env” relative to directory
- webpack is not recognized as a internal or external command,operable program or batch file
- Webpack command not found
- How can I update NodeJS and NPM to the next versions?
- How can I update npm itself?
- How to install a previous exact version of a NPM package?
- How to solve npm error “npm ERR! code ELIFECYCLE”
- Start script missing error when running npm start
- How to solve npm error “npm ERR! code ELIFECYCLE”
- npm check and update package if needed
- Can not find module “@angular-devkit/build-angular”
- After command npm start “Missing script:start” error
- sudo: npm: command not found
- How to resolve Nodejs: Error: ENOENT: no such file or directory
- Difference between npx and npm?
- Please run `npm cache clean`
- What is the difference between npm install and npm run build?
- npm ERR cb() never called
- NPM clean modules
- ‘node’ is not recognized as an internal or an external command, operable program or batch file while using phonegap/cordova
- NPM Start not starting local server
- NPM ELIFECYCLE error – using node server.js command
- how to render a react component using ReactDOM Render
- What is the –save option for npm install?
- Node.js – SyntaxError: Unexpected token import
- nodemon not working: -bash: nodemon: command not found
- npm install not working in windows
- nodemon not found in npm
- Node.js – SyntaxError: Unexpected token import
- webpack: Module not found: Error: Can’t resolve (with relative path)
- ExpressJS – throw er Unhandled error event
- What exactly is the ‘react-scripts start’ command?
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- Why am I getting “Error socket hang up” response?
- Node.js Port 3000 already in use but it actually isn’t?
- npm – EPERM: operation not permitted on Windows
- keep getting “? Something is already running on port 3000” when I do npm start on react app
- What Are “npm run dev” and “npm run prod”
- Find the version of an installed npm package
- “npm config set registry https://registry.npmjs.org/” is not working in windows bat file
- How do I uninstall a package installed using npm link?
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- ExpressJS – throw er Unhandled error event
- SyntaxError: Cannot use import statement outside a module
- Error “Cannot find module ‘npmlog'” after “npm update -g”
- What is the difference between –save and –save-dev?
- error: This is probably not a problem with npm. There is likely additional logging output above
- Node update a specific package
- npm – “Can’t find Python executable “python”, you can set the PYTHON env variable.”
- webpack: Cannot read property ‘match’ of undefined
- npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself
- Cannot find module ‘internal/fs’ after upgrading to node 7
- CentOS error – sudo: effective uid is not 0, is sudo installed setuid root?
- How to install npm peer dependencies automatically?
- Do I commit the package-lock.json file created by npm 5?
- npm update broke npm
- npm ERR! No git binary found in $PATH
- How to Reinstall Broken npm
- Local package.json exists, but node_modules missing
- npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
- Cannot npm install due to node-gyp: binding.gyp not found
- Downgrade npm to an older version
- How do I fix the npm UNMET PEER DEPENDENCY warning?
- `node-pre-gyp install –fallback-to-build` failed during MeanJS installation on OSX
- npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\Nuwanst\package.json’
- npm install resulting in ‘ENOENT: no such file or directory’
- node.js: cannot find module ‘request’
- When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)
- E: Unable to locate package npm
- npm install errors with Error: ENOENT, chmod
- npm install multiple package names
- NPM self_signed_cert_in_chain
- npm WARN deprecated [email protected]: Use uuid module instead
- npm WARN package.json: No repository field
- Maximum call stack size exceeded on npm install
- npm “failed to parse json”
- DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
- Npm Error – Windows NT – How to resolve
- NPM install fails with node-gyp
- How do you uninstall all dependencies listed in package.json (NPM)?
- npm start giving error in node.js
- npm install with error: `gyp` failed with exit code: 1
- npm update check failed
- events.js: 141 throw er; // Unhandled ‘error’ event
- NPM warn message about deprecated package
- Webpack – webpack-dev-server: command not found
- npm install hangs
- ‘tsc command not found’ in compiling typescript
- npm init not working and getting stuck on version
- GYP ERR! build error. stack Error: ‘make’ failed with exit code 2
- Can pm2 run an ‘npm start’ script
- What is the difference between Bower and npm?
- How do I install Angular 2 using NPM?
- how to update npm on macOS
- nvm is not compatible with the npm config “prefix” option: