Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grunt install throws Error #14

Open
dharanidharan12 opened this issue Nov 2, 2017 · 2 comments
Open

grunt install throws Error #14

dharanidharan12 opened this issue Nov 2, 2017 · 2 comments

Comments

@dharanidharan12
Copy link

Which Version of Node , npm & grunt-cli should I use

Running "bower:install" (bower) task

Cleaned target dir /home/user/WebGnomeClient/js/lib
Fatal error: Status code of 404

In WebGnomeClient There is no lib folder is found under js directory

Please Help

@dharanidharan12
Copy link
Author

WebGnomeClient issue while Installing npm

uisng npm install

npm WARN package.json WebGnomeClient@ No repository field.
npm WARN package.json WebGnomeClient@ No license field.
npm WARN package.json Dependency 'grunt' exists in both dependencies and devDependencies, using 'grunt@*' from dependencies

[email protected] install /home/user/WebGnomeClient/node_modules/openlayers
node tasks/install.js

options.entry is deprecated, use options.input
options.entry is deprecated, use options.input
options.entry is deprecated, use options.input

[email protected] postinstall /home/user/WebGnomeClient/node_modules/openlayers
closure-util update

WebGnomeClient@ postinstall /home/user/WebGnomeClient
grunt install

Running "bower:install" (bower) task

Cleaned target dir /home/user/WebGnomeClient/js/lib
Fatal error: Status code of 404

npm ERR! Linux 4.4.0-98-generic
npm ERR! argv "/home/user/.nvm/versions/node/v4.8.1/bin/node" "/home/user/.nvm/versions/node/v4.8.1/bin/npm" "install"
npm ERR! node v4.8.1
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! WebGnomeClient@ postinstall: grunt install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the WebGnomeClient@ postinstall script 'grunt install'.
npm ERR! This is most likely a problem with the WebGnomeClient package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs WebGnomeClient
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls WebGnomeClient
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/user/WebGnomeClient/npm-debug.log

also attached the log file.
npm-debug.log

@daf
Copy link

daf commented May 14, 2018

I've just troubleshooted this - the Cesium install location no longer exists (with no redirect) and is causing grunt install to fail. Updating the relevant line in bower.json helped:

--- /tmp/VkiXdW_bower.json      2018-05-14 17:28:25.658601187 -0400
+++ bower.json  2018-05-14 17:21:06.090979637 -0400
@@ -15,7 +15,7 @@
     "bootstrap": "3.*.*",
     "datetimepicker": "2.*.*",
     "openlayers": "git://github.com/NOAA-ORR-ERD/ol3.git#3.15.1",
-    "cesium": "https://cesiumjs.org/releases/Cesium-1.28.zip",
+    "cesium": "https://github.com/AnalyticalGraphicsInc/cesium/releases/download/1.28/Cesium-1.28.zip",
     "jquery-file-upload": "9.10.1",
     "respond": "1.4.2",
     "compass-rose-ui": "1.1.*",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants