Supported engines: npm
See original GitHub issueDescribe the bug Package “core” does not support npm?
To Reproduce Steps to reproduce the behavior:
- Install core or react package
- Get following message from npm:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@use-cookie-consent/core@0.3.3',
npm WARN EBADENGINE required: { node: '>=12', npm: '<0', yarn: '^1' },
npm WARN EBADENGINE current: { node: 'v14.18.1', npm: '8.1.1' }
npm WARN EBADENGINE }
Expected behavior No message like this
Desktop (please complete the following information):
- OS: WSL on Windows 10
Additional context Is there a reason for saying npm <0? Otherwise it seems to be easy to fix 😉
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
package.json
This is a set of config values that will be used at publish-time. It's especially handy if you want to set the tag,...
Read more >Node Engines: Helping Developers Everywhere Avoid ...
Node engines are a little discussed (but in my opinion pretty critical) configuration that can be specified in your package.json file that tells ......
Read more >Node engine 8.x or 10.x in package.json
json to accept both 8 and 10 version. I tried to type this: "engines": { "node": "8.x|10.
Read more >Configuring your application's dependencies
Use the engines keyword in the package.json file to specify the Node.js version that you want your application to use. You can also...
Read more >package.json: engines & engineStrict - and how to use them
Yes, remember that npm stands for Node Package Manager. The engines-field is also in the package.json file. I first thought and hoped that...
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
Looks like the warning is gone, thank you!
Excluding package-lock via git seems to be perfectly fine 👍