Skip to content

Commit

Permalink
v9.6
Browse files Browse the repository at this point in the history
- DietPi-Software | Node-RED: Use "npm install @latest" to update to latest Node-RED. "npm update" re-generates the package-lock.json only, based on the package.json, but does not update the defined versions. "npm install node-red@latest" does also install other modes defined in package.json, but does not update them.
  • Loading branch information
MichaIng committed Jul 4, 2024
1 parent c0bd77d commit cd7e1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6681,7 +6681,7 @@ _EOF_
if [[ -f 'package.json' ]]
then
G_EXEC rm -Rf node_modules .npm/_cacache
G_EXEC_OUTPUT=1 G_EXEC runuser -u nodered -- npm up --cache "$cache" --no-audit
G_EXEC_OUTPUT=1 G_EXEC runuser -u nodered -- npm i --cache "$cache" --no-audit node-red@latest
else
G_EXEC_OUTPUT=1 G_EXEC runuser -u nodered -- npm i --cache "$cache" --no-audit node-red
fi
Expand Down

0 comments on commit cd7e1c5

Please sign in to comment.