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://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>
  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: https://github.com/npm/npm/issues/8702

  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

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

Recent Discussions

26 Mar, 2019 06:34 AM
26 Mar, 2019 06:27 AM
25 Mar, 2019 09:12 PM
25 Mar, 2019 06:34 PM
25 Mar, 2019 06:20 AM

 

24 Mar, 2019 06:52 PM
24 Mar, 2019 05:26 PM
24 Mar, 2019 03:07 AM
22 Mar, 2019 02:20 PM
22 Mar, 2019 11:00 AM
22 Mar, 2019 02:51 AM