All NodeJS builds failing
I'm suddenly getting this error in all my recent NodeJS builds:
Build started
git config --global core.autocrlf input
git clone -q git://github.com/resin-io/resin-sdk.git C:\projects\resin-sdk
git fetch -q origin +refs/pull/79/merge:
git checkout -qf FETCH_HEAD
Running Install scripts
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
Updating Node.js v0.11.16 (x86)
Uninstalling Node.js v0.10.38 (x86)...
Installing Node.js v0.11.16 (x86)...
npm -g install npm@2
C:\Users\appveyor\AppData\Roaming\npm\npm -> C:\Users\appveyor\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm@2.12.0 C:\Users\appveyor\AppData\Roaming\npm\node_modules\npm
set PATH=%APPDATA%\npm;%PATH%
npm install -g gulp
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "node" "C:\\Users\\appveyor\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "gulp"
npm ERR! node v0.11.16
npm ERR! npm v2.12.0
npm ERR! undefined is not a function
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\projects\resin-sdk\npm-debug.log
Command exited with code 1
<pre><code></code>
</pre>
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 26 Jun, 2015 06:47 PM
Take a look at this issue: https://github.com/npm/npm/issues/8702
2 Posted by Juan Cruz Viott... on 02 Jul, 2015 04:23 PM
Thanks,
npm -g install npm@2.12.1worked fine for me!Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.