Skip to content
Snippets Groups Projects
Commit 6ec336da authored by Bob Mottram's avatar Bob Mottram
Browse files

Attempt npm install fix

parent 007c1cb8
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,8 @@ function mesh_install_nodejs {
#cp $rootdir/usr/bin/npm $rootdir/root/npm
get_npm_arch
$mesh_install_nodejs_prefix npm config set unsafe-perm true
$mesh_install_nodejs_prefix npm install --arch=$NPM_ARCH -g npm@${NPM_VERSION} --save
if [ -f $rootdir/usr/local/bin/npm ]; then
cp $rootdir/usr/local/bin/npm /usr/bin/npm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment