Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

docker-compose up fails with server_1 | Error: Cannot find module 'bitfinex-api-node' #248

Closed
arpheno opened this issue Jun 9, 2017 · 7 comments
Labels

Comments

@arpheno
Copy link

arpheno commented Jun 9, 2017

image
on latest master

@nedievas
Copy link
Contributor

nedievas commented Jun 9, 2017

npm update or install

@DeviaVir
Copy link
Owner

DeviaVir commented Jun 9, 2017

@arpheno

docker rmi zenbot_server
docker-compose build
docker-compose up -d

@arpheno
Copy link
Author

arpheno commented Jun 9, 2017

Not sure what's happening.
Dockerfile has the npm install

I added npm update to Dockerfile, still same error:

image

@arpheno
Copy link
Author

arpheno commented Jun 9, 2017

docker rmi -f zenbot_server
docker-compose rm server
docker-compose up --build

Worked. Still super weird. My friend is building it from a clean system and it didn't work for him

@DeviaVir
Copy link
Owner

DeviaVir commented Jun 9, 2017

I think it is caused by outdated package-lock.json, but not sure yet.
https://github.com/carlos8f/zenbot/blob/master/package-lock.json

I ran into it a few times, and cleaning the image allowed me to truck on, so didn't look into it more.

@DeviaVir DeviaVir added the bug label Jun 9, 2017
@egorbenko
Copy link
Contributor

egorbenko commented Jun 9, 2017

docker exec -it server_1 bash
rm package-lock.json
rm -f node_modules
npm install

@carlos8f
Copy link
Contributor

Had to update package-lock.json again with d9ac27a to fix 'pinkie-promise not found' error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants