-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update minimum NodeJS version #30
Conversation
@Raruto is better : "engines" : {
"node" : ">=14.18.1",
"npm" : ">=8.3.0"
} |
@volterra79 ok, in the meantime I have to figure out how to update npm. If you are already on that versions, you can also update the package-lock.json file? (so I directly download the latest versions of both and we don't mess with the published lock file). Raruto |
If I have not misunderstood each version of node provides an npm version by default (at least this way it works on Windows). nvm use 14.18.1 node -v
v14.18.1 npm -v
6.14.15 Somehow it would also be possible to update npm on its own, but it is much more problematic and cumbersome than using |
@Raruto no reason to update to the high version of npm. In my linux installation npm v8.3.0 come with node v14.18.1. So i sugget to specify only the minimun version of node in "engines" configuration settings. |
Are you sure you don't have any PATH rules that take precedence? On my enviroment I have the following association:
|
@Raruto done |
Tested and working also with: node: v16.15.0 g3w-client: v3.4.0 |
@Raruto thanks |
…or-karma"`) ## Abstract [yeoman](https://yeoman.io/) is a command line tool useful for starting a new javascript project, at the moment it is no longer necessary, at the moment it is no longer necessary, and indeed most of the time it causes a conflict in the `npm install phase` with the npm engines directive (ref: #30) and its related internal dependency [yeoman-doctor](https://www.npmjs.com/package/yeoman-doctor) (ref: `package-lock.json`) ## List of changes Delete the following dev dependecies from `package.json`: - [generator-karma](https://www.npmjs.com/package/generator-karma) - [generator-browserify](https://www.npmjs.com/package/generator-browserify)
…or-karma"`) (#314) ## Abstract [yeoman](https://yeoman.io/) is a command line tool useful for starting a new javascript project, at the moment it is no longer necessary, at the moment it is no longer necessary, and indeed most of the time it causes a conflict in the `npm install phase` with the npm engines directive (ref: #30) and its related internal dependency [yeoman-doctor](https://www.npmjs.com/package/yeoman-doctor) (ref: `package-lock.json`) ## List of changes Delete the following dev dependecies from `package.json`: - [generator-karma](https://www.npmjs.com/package/generator-karma) - [generator-browserify](https://www.npmjs.com/package/generator-browserify)
package.json
Related to: #29
Closes: #26