NOAA-ORR-ERD / WebGnomeClient

Javascript client that uses the WebGnomeAPI to create and run py_gnome models.
3 stars 9 forks source link

grunt install throws Error #14

Open dharanidharan12 opened 6 years ago

dharanidharan12 commented 6 years ago

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 commented 6 years ago

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

openlayers@4.4.2 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

openlayers@4.4.2 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 commented 6 years ago

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.*",