redhat-iot / iot-assettracking-demo

IoT Asset Tracking Demo
Eclipse Public License 1.0
22 stars 26 forks source link

Error resolving ImageStreamTag - Dashboard & Code incompatibilities in Dashboard App #14

Open hggambaro opened 5 years ago

hggambaro commented 5 years ago

I'm getting this error when trying to build dashboard app. Error resolving ImageStreamTag nodejs:4 in namespace openshift: unable to find latest tagged image redhat iot.

You can fix it by installing an old node.js 4 image template. But in the config step, there are a los of code incopatibilities errors because old apps dependencies. Dashboard app needs to be updated. Is onyone thinking in updating this?

Thanks in advanced for your help. - Hernan

matiasmospan commented 5 years ago

I'm facing a similar issue, not sure if the same but it happens in the same pod. The log shows me this


angular-moment#1.0.0 depends on angular#>=1.2.0 <1.6.0 which resolved to angular#1.5.11 angular-bootstrap-switch#0.5.1 depends on angular#>=1.4.0 which resolved to angular#1.7.8 Resort to using angular#1.5.11 which resolved to angular#1.5.11 Code incompatibilities may occur.

bower ECONFLICT Unable to find suitable version for bootstrap

npm ERR! Linux 3.10.0-957.el7.x86_64 npm ERR! argv "/opt/rh/rh-nodejs6/root/usr/bin/node" "/opt/rh/rh-nodejs6/root/usr/bin/npm" "install" npm ERR! node v6.11.3 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! iot-cargo-demo@2.0.0 postinstall: bower install npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iot-cargo-demo@2.0.0 postinstall script 'bower install'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the iot-cargo-demo package, npm ERR! not with npm itself.

Thx

ccustine commented 5 years ago

I'll take a look at this next week unless @jamesfalkner has some time to give us a fix.

hggambaro commented 5 years ago

any news on this? Thanks