Skip to content

Problem in running the driver and app on linux system  #7

@ADHATARAO

Description

@ADHATARAO

I am using Ubuntu 18.04.3 LTS
Docker version 19.03.4, build 9013bf583a
I already tried to delete the container
and reinstalling docker.

I get errors even when I try to run script in databox-quickstart/blob/master/node/app/ directory

Following is the error generated when I try to run the example given in driver directory.
Reference link : https://github.com/me-box/databox-quickstart/blob/master/node/driver/README.md#writing-a-driver-in-node

Corresponding error :

cd src
sudo npm install
sudo npm start

npm WARN driver-helloworld-node@1.0.0 No repository field.

../../../testenv/start.sh: 5: [: true: unexpected operator
docker: Error response from daemon: Conflict. The container name "/arbiter" is already in use by container "e8dde9cb11a54a63e76e7cac483de536db6832d85810fc69aebc546508f9a218". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
docker: Error response from daemon: Conflict. The container name "/zest" is already in use by container "b5e90c4c7b1f236cc9ebd6e38291d2d1ddd6070cfa4a674f6a0fba6ee36b5da7". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
sh: 1: nodemon: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! driver-helloworld-node@1.0.0 start: ../../../testenv/start.sh && nodemon -L -e js,ejs --max-old-space-size=128 main.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the driver-helloworld-node@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/sab/.npm/_logs/2019-10-21T12_04_46_389Z-debug.log

Command 'audited' not found, did you mean:

command 'auditd' from deb auditd

Try: sudo apt install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions