LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo HTML5 Build Error

From Tuesday 08/05/2018, we have not been able to successfully build our HTML5 builds on our bamboo server.

The build uses an NPM install command for our source files but fails reporting the following git related messages:

  • err Git not installed
  • err Unable to load registry github

When trying to do the build manually on the server, the NPM install completes successfully without such errors.

Both git and nodejs (npm/gulp) are installed on the server and have been working without issues for months up until Tuesday - included an extract of the logs at the bottom of this ticket for reference.

We have contacted our infrastructure team who have been investigating this issue too but thus far, not found any cause behind this failure - in fact, they do not see anything in their logs at the point we get the error message following the NPM install command.

Please see Build log below with errors

Can anybody advise what we can do to resolve this issue? Thank you

 

 

build 10-May-2018 10:32:47 > typings install && jspm install
build 10-May-2018 10:32:47 
error 10-May-2018 10:32:50 typings WARN deprecated 12/5/2016: "registry:dt/angular#1.5.0+20160802155123" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:50 typings WARN deprecated 7/1/2016: "registry:dt/angular-route#1.3.0+20160317120654" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:50 typings WARN deprecated 5/10/2016: "registry:dt/ag-grid#2.1.2+20160317120654" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:50 typings WARN deprecated 7/1/2016: "registry:dt/angular-mocks#1.5.0+20160608104721" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:50 typings WARN deprecated 10/25/2016: "registry:dt/jasmine#2.2.0+20160621224255" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:50 typings WARN deprecated 9/29/2016: "registry:dt/jquery#1.10.0+20160704162008" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:51 typings WARN deprecated 11/21/2016: "registry:dt/angular-xeditable#0.2.0+20160705072627" is deprecated (updated, replaced or removed)
error 10-May-2018 10:32:51 typings WARN deprecated 10/10/2016: "registry:dt/moment#2.11.1+20160829143156" is deprecated (updated, replaced or removed)
build 10-May-2018 10:32:52 [?25h
build 10-May-2018 10:32:52 +-- bowser
build 10-May-2018 10:32:52 +-- ag-grid (global)
build 10-May-2018 10:32:52 +-- angular (global)
build 10-May-2018 10:32:52 +-- angular-mocks (global)
build 10-May-2018 10:32:52 +-- angular-route (global)
build 10-May-2018 10:32:52 +-- angular-translate (global)
build 10-May-2018 10:32:52 +-- angular-xeditable (global)
build 10-May-2018 10:32:52 +-- es6-promise (global)
build 10-May-2018 10:32:52 +-- http-status-codes@1.0.0 (global)
build 10-May-2018 10:32:52 +-- jasmine (global)
build 10-May-2018 10:32:52 +-- jquery (global)
build 10-May-2018 10:32:52 `-- moment (global)
build 10-May-2018 10:32:52 
error 10-May-2018 10:32:55 
error 10-May-2018 10:32:55 err Git not installed. You can install git from http://git-scm.com/downloads.\\ error 10-May-2018 10:32:55 
error 10-May-2018 10:32:55 err Unable to load registry github
build 10-May-2018 10:32:55 
build 10-May-2018 10:32:55 warn Installation changes not saved.
error 10-May-2018 10:32:55 
error 10-May-2018 10:32:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\browser-sync\node_modules\chokidar\node_modules\fsevents):
error 10-May-2018 10:32:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
error 10-May-2018 10:32:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\gulp-watch\node_modules\chokidar\node_modules\fsevents):
error 10-May-2018 10:32:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
error 10-May-2018 10:32:55 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\karma\node_modules\chokidar\node_modules\fsevents):
error 10-May-2018 10:32:55 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
error 10-May-2018 10:32:55 npm WARN itrade@1.0.0 No repository field.
error 10-May-2018 10:32:55 npm ERR! Windows_NT 6.1.7601
error 10-May-2018 10:32:55 npm ERR! argv "C:
Program Files\\nodejs
node.exe" "C:
Program Files\\nodejs\\node_modules\\npm\\bin
npm-cli.js" "install"
error 10-May-2018 10:32:55 npm ERR! node v6.13.0
error 10-May-2018 10:32:55 npm ERR! npm v3.10.10
error 10-May-2018 10:32:55 npm ERR! code ELIFECYCLE
error 10-May-2018 10:32:55 npm ERR! itrade@1.0.0 postinstall: `typings install && jspm install`
error 10-May-2018 10:32:55 npm ERR! Exit status 1
error 10-May-2018 10:32:55 npm ERR! 
error 10-May-2018 10:32:55 npm ERR! Failed at the itrade@1.0.0 postinstall script 'typings install && jspm install'.
error 10-May-2018 10:32:55 npm ERR! Make sure you have the latest version of node.js and npm installed.
error 10-May-2018 10:32:55 npm ERR! If you do, this is most likely a problem with the itrade package,
error 10-May-2018 10:32:55 npm ERR! not with npm itself.
error 10-May-2018 10:32:55 npm ERR! Tell the author that this fails on your system:
error 10-May-2018 10:32:55 npm ERR! typings install && jspm install
error 10-May-2018 10:32:55 npm ERR! You can get information on how to open an issue for this project with:
error 10-May-2018 10:32:55 npm ERR! npm bugs itrade
error 10-May-2018 10:32:55 npm ERR! Or if that isn't available, you can get their info via:
error 10-May-2018 10:32:55 npm ERR! npm owner ls itrade
error 10-May-2018 10:32:55 npm ERR! There is likely additional logging output above.
error 10-May-2018 10:32:55 
error 10-May-2018 10:32:55 npm ERR! Please include the following file with any support request:
error 10-May-2018 10:32:55 npm ERR! E:\bamboo-agent-home\xml-data\build-dir\IT-TS-JOB1\root\itrade\web\HTML5\iTrade\npm-debug.log

 

 

 

0 Kudos
Message 1 of 2
(2,255 Views)

Hello AndyP321!

 

I have no experience with bamboo, however two things in the log you posted raised my suspicion:

  1. "C:
    Program Files\\nodejs
    node.exe" "C:
    Program Files\\nodejs\\node_modules\\npm\\bin
    npm-cli.js" "install"
    Here are several line breaks that do not belong here. The line should read "C:\\Program Files\\nodejs\\node.exe" and so on. I suspect there is are escaping backslashes missing, e.g. "C:\Program Files\\nodejs\node.exe". Maybe check where this is coming from. It's okay if the invoking calls are fine and there is just a bug in the logging routine.
  2. What is the content of npm-debug.log referenced in the last line of your log? You can attach it to your post. Be aware that this is a public forum so check for confidential data before doing so.

Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 2 of 2
(2,222 Views)