We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

Error occurs in IDAS installation using Docker

asked 2017-10-04 09:35:09 +0200

kazuki urabe gravatar image

Hello,

I was trying to install IDAS using Docker for Windows. But the Docker container could not started as bellow:


docker pull telefonicaiot/iotagent-ul

docker run -itd --name iotagent telefonicaiot/iotagent-ul
6c3283528200f7f4854a4754d40013cb9b1853c38101e0bfc8deba2df5e0007a

docker ps -a
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                     PORTS               NAMES
6c3283528200        telefonicaiot/iotagent-ul   "/bin/sh -c 'bin/i..."   8 seconds ago       Exited (8) 6 seconds ago                       iotagent

docker start iotagent
iotagent

docker ps -a
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                     PORTS               NAMES
6c3283528200        telefonicaiot/iotagent-ul   "/bin/sh -c 'bin/i..."   28 seconds ago      Exited (8) 4 seconds ago                       iotagent

docker logs iotagent
/opt/iotaul/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
const Hoek = require('hoek');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/opt/iotaul/node_modules/request/node_modules/hawk/lib/index.js:5:33)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)

/opt/iotaul/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
const Hoek = require('hoek');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/opt/iotaul/node_modules/request/node_modules/hawk/lib/index.js:5:33)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
 

Has anyone had the same issues? Kazuki Urabe

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2017-10-10 11:44:41 +0200

jicg gravatar image

Please, try to use fiware/iotagent-ul:1.4.0 instead of telefonicaiot/iotagent-ul instead

edit flag offensive delete link more

Comments

Thank you!

kazuki urabe gravatar imagekazuki urabe ( 2017-10-11 03:20:38 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-10-04 09:35:09 +0200

Seen: 68 times

Last updated: Oct 10