All NodeJS builds failing

Juan Cruz Viotti's Avatar

Juan Cruz Viotti

26 Jun, 2015 06:41 PM

I'm suddenly getting this error in all my recent NodeJS builds:

Build started  
git config --global core.autocrlf input  
git clone -q 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!     <>  

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  
  1. Support Staff 1 Posted by Feodor Fitsner on 26 Jun, 2015 06:47 PM

    Feodor Fitsner's Avatar

    Take a look at this issue:

  2. 2 Posted by Juan Cruz Viott... on 02 Jul, 2015 04:23 PM

    Juan Cruz Viotti's Avatar

    Thanks, npm -g install npm@2.12.1 worked fine for me!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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