Bob Mottram 8 年 前
コミット
1999bf62ab
共有1 個のファイルを変更した4 個の追加0 個の削除を含む
  1. 4
    0
      src/freedombone-utils-nodejs

+ 4
- 0
src/freedombone-utils-nodejs ファイルの表示

@@ -181,6 +181,10 @@ EOF
181 181
     fi
182 182
     rm -f /root/install-nodejs.sh
183 183
 
184
+    # second npm install attempt seems necessary
185
+    npm install -g npm@${NPM_VERSION} --save
186
+    cp /usr/local/bin/npm /usr/bin/npm
187
+
184 188
     # node seems tricky so here we're going to double check
185 189
     # that the versions we expect did get installed
186 190
     CURR_NODE_VERSION=$(node --version)