npm install on node 14 includes optional dependencies
See original GitHub issueDescription of the issue
Running npm install
on node 14 on a mac installs optional dependencies
Steps to reproduce the issue
Run npm install
on node 14 on a mac
Actual vs expected behaviour
Install optional dependencies including Cypress, 1137 packages in total Expected only core dependencies
Environment (where applicable)
- Operating system: MacOS
- GOV.UK Prototype Kit version: main
- Node: 14.2.0
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
npm-install - npm Docs
To install all modules listed in both dependencies and devDependencies when NODE_ENV environment variable is set to production , you can use --production=false ......
Read more >[BUG] npm ci installs an optional dependency which targets a ...
npm ci seems to install an optional dependency for the linux os when running on a mac and seems to install the optional...
Read more >Force npm install to install optional dependencies for other ...
A build task contains all its dependencies at build time. Is there a way I can force npm to download all OS optional...
Read more >node.js - Optional dependencies in npm?
declare optional dependencies in package.json that aren't automatically installed by npm install , say optionalPeerDependencies; a custom require -style ...
Read more >How To Install Node.js and NPM On Windows - ServerMania
Node.js is one of the most popular open-source JavaScript runtimes today. Its popularity has risen in the past decade because of the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Might take a while to boot up the old macbook, probably worth trying with 6, 6.14 or later, according to https://nodejs.org/en/download/releases/. Might be worth covering the npm for node 12 too
This was properly fixed with our new release process in #1399.