Building release version of Cesium 23 on a windows 10 pc

Trying to build a release version of Cesium23, and I have no issues running "npm run build". However when I "npm run release" I am getting errors.

Not very familiar with the latest build/packaging toolset. As far as I can tell I have node, gulp installed properly. I downloaded the latest Cesium.zip file and had to pull down a handful of missing files.

From looking at the log it seems like the error is related to gulp and requirejs.

Has anybody else seen this error and know how to get around it?

Thanks in advance

Jerry

The npm-debug.log contains the following:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'requirejs',
1 verbose cli '--',
1 verbose cli '--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9',
1 verbose cli '--silent' ]
2 info using npm@3.10.3
3 info using node@v6.3.0
4 verbose run-script [ 'prerequirejs', 'requirejs', 'postrequirejs' ]
5 info lifecycle cesium@1.23.0~prerequirejs: cesium@1.23.0
6 silly lifecycle cesium@1.23.0~prerequirejs: no script for prerequirejs, continuing
7 info lifecycle cesium@1.23.0~requirejs: cesium@1.23.0
8 verbose lifecycle cesium@1.23.0~requirejs: unsafe-perm in lifecycle true
9 verbose lifecycle cesium@1.23.0~requirejs: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\BigDog\Downloads\Cesium-1.23\node_modules\.bin;C:\Program Files\nodejs;C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\BigDog\Downloads\Cesium-1.23\node_modules\.bin;C:\Program Files\nodejs;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\java\jdk1.7.0\bin;C:\Program Files (x86)\vim72;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Git\cmd;C:\Program Files\SourceGear\Common\DiffMerge\;C:\Program Files\nodejs\;C:\Users\BigDog\AppData\Local\atom\bin;C:\Users\BigDog\AppData\Roaming\npm
10 verbose lifecycle cesium@1.23.0~requirejs: CWD: C:\Users\BigDog\Downloads\Cesium-1.23
11 silly lifecycle cesium@1.23.0~requirejs: Args: [ '/d /s /c',
11 silly lifecycle 'gulp requirejs "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"' ]
12 silly lifecycle cesium@1.23.0~requirejs: Returned: code: 1 signal: null
13 info lifecycle cesium@1.23.0~requirejs: Failed to exec requirejs script
14 verbose stack Error: cesium@1.23.0 requirejs: `gulp requirejs "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:852:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid cesium@1.23.0
16 verbose cwd C:\Users\BigDog\Downloads\Cesium-1.23
17 error Windows_NT 10.0.10586
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "requirejs" "--" "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"
19 error node v6.3.0
20 error npm v3.10.3
21 error code ELIFECYCLE
22 error cesium@1.23.0 requirejs: `gulp requirejs "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"`
22 error Exit status 1
23 error Failed at the cesium@1.23.0 requirejs script 'gulp requirejs "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the cesium package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error gulp requirejs "--eyJ3cmFwIjp0cnVlLCJ1c2VTdHJpY3QiOnRydWUsIm9wdGltaXplIjoibm9uZSIsIm9wdGltaXplQ3NzIjoic3RhbmRhcmQiLCJwcmFnbWFzIjp7ImRlYnVnIjp0cnVlfSwiYmFzZVVybCI6IlNvdXJjZSIsInNraXBNb2R1bGVJbnNlcnRpb24iOnRydWUsIm5hbWUiOiIuLlxcbm9kZV9tb2R1bGVzXFxhbG1vbmRcXGFsbW9uZCIsImluY2x1ZGUiOiJtYWluIiwib3V0IjoiQnVpbGRcXGNvbWJpbmVPdXRwdXRcXG5vbmVcXENlc2l1bS5qcyJ9" "--silent"
23 error You can get information on how to open an issue for this project with:
23 error npm bugs cesium
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls cesium
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

What version of node are you using? You need node version 4.x or newer to build the code

-Hannah

Hanna,

I rebuilt my environment on another machine and I am not having the same error. Initially I was using the latest and greatest version of node 6.3.0.

Jerry