Always install latest node
See original GitHub issueDo you want to request a feature or report a bug?
I want to know, is there any way we can always install the latest version of NodeJS instead of explicitly specifying like <nodeVersion>v8.11.1</nodeVersion>
What I propose is instead of explicitly specifying the node version we could specify something like <nodeVersion>LATEST</nodeVersion>
which will install the current stable version.
What is the current behavior?
We have to manually search for the latest version of node and add the version inPOM.xml
<nodeVersion>v8.11.1</nodeVersion>
What is the expected behavior?
<nodeVersion>LATEST</nodeVersion>
Please mention your frontend-maven-plugin and operating system version.
I’m using frontend-maven-plugin 1.7.6 and Mac 10.14.5 (Mojave)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to npm install and force latest version (permanently)?
Use "*" as your version in your package.json file. For example: "dependencies": { "my-awesome-repo": "*" }. Upon npm install this will ...
Read more >Try the latest stable version of npm
To get around this, you can do one of the following: Option 1: edit your Windows installation's PATH to put %appdata%\npm before %ProgramFiles%\nodejs...
Read more >Using npm To Install A Specific Version Of A Node.js Package
By default, the npm install command fetches the latest available version of the specified package—in this case, it's Renovate version ...
Read more >Install Node.js, npm, and VS Code - IBM Developer
To install the latest Node.js version 16, enter the brew install node@16 ... Tip: Homebrew always installs the current version of Node.js when...
Read more >Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node v19.0.0 / LTS v16.18.0.
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
The reason this isn’t supported, is that a new version of node.js could introduce a regression/bug (yes, it happened to me and I wasted hours because of it) so in order to have reproducible builds (no “works on my machine” issues) the plugin is designed so that you have to lock down to a specific version of Node.js. So if there’s a newer version, simply update the version in your pom.xml file!
What about
<nodeVersion>LTS</nodeVersion>
as theLATEST
could also mixLTS
,Current
/Stable
, etc