blackboard / BBDN-LTI-Tool-Provider-Node

A node.js LTI Tool Provider for testing LTI launches, Caliper, and Outcomes.
73 stars 40 forks source link

Docker compose issue #61

Closed scollovati closed 4 years ago

scollovati commented 4 years ago

When running docker-compose up from the terminal this issue has been raised:

Pulling lti-tools (lti-tools:)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.

Continue with the new image? [yN] Y
Pulling lti-tools (lti-tools:)...
ERROR: pull access denied for lti-tools, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Where can we have access to lti-tools image?

ewpreston commented 4 years ago

You must run docker build first. We don't publish this image to a public repository.

I use:

docker build -t lti-tools . docker-compose up

scollovati commented 4 years ago

Thank you Eric, however the post install script is missing:

Step 7/9 : RUN npm run postinstall
 ---> Running in 4f7a45418561
npm ERR! Linux 4.9.184-linuxkit
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "postinstall"
npm ERR! node v6.17.1
npm ERR! npm  v3.10.10

npm ERR! missing script: postinstall
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /usr/app/npm-debug.log
The command '/bin/sh -c npm run postinstall' returned a non-zero code: 1
ewpreston commented 4 years ago

Pull the latest. It's been a while since we worked on the docker container.

scollovati commented 4 years ago

Probably solved. I thought of having the last pull from GH..