mslearn-staticwebapp icon indicating copy to clipboard operation
mslearn-staticwebapp copied to clipboard

Compatible Node version(s) should be stated in pre-requisites

Open rohancragg opened this issue 3 years ago • 0 comments

Trying to run vue-app after creating from template repo I am unable to run npm install with Node 17

I am able to resolve this by using NVS to switch to Node 16.

I'd suggest this project add an engines section to package.json to advice which Node versions the is compatible with so that people can use this with engine-strict mode npm config set engine-strict=true

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '^16 || ^15 || ^14 || ^13 || ^12 || ^11 || ^10 || ^9 || ^8 || ^7 || ^6'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v17.3.0', npm: '8.3.0' }
npm WARN EBADENGINE }

rohancragg avatar Dec 22 '21 09:12 rohancragg