mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-08 01:31:20 +00:00
NodeJS - Add post install npm update -g
NodeJS is no longer bundling an up to date `NPM` package, currently shipping with v1.4.28, now post install running `npm update -g` will update to NPM v2.1.10 at time of writing
This commit is contained in:
parent
173f7031f7
commit
ac270aaa29
@ -15,6 +15,7 @@
|
||||
"env_add_path": "nodejs",
|
||||
"post_install": "
|
||||
# Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm
|
||||
rm $dir\\nodejs\\node_modules\\npm\\npmrc",
|
||||
rm $dir\\nodejs\\node_modules\\npm\\npmrc
|
||||
npm update -g",
|
||||
"checkver": "<p class=\"version\">Current Version: v([0-9\\.]+)</p>"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user