Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while building meteor - Missing dependancies #896

Open
franck-boullier opened this issue Feb 8, 2020 · 1 comment
Open

Issue while building meteor - Missing dependancies #896

franck-boullier opened this issue Feb 8, 2020 · 1 comment

Comments

@franck-boullier
Copy link
Member

When deploying the image, we get an warning message as such.
See this Travis CI build for a example of that error.

image

In Travis CI, implementing the suggest solution from the warning message
meteor npm install --save bcrypt
image
has no effect

Googling the problem leads to a known Issue on the Meteor git Repo.

The solution seems to be :

Make sure you have the node-gyp build tools installed before installing bcrypt .

bcrypt needs to build a binary, and the tools needed to do that are not installed on systems by default.

TODO:

Check how we can change our .travis.yml and Dockerfile files to make sure that make sure you have the node-gyp build tools installed

franck-boullier pushed a commit that referenced this issue Feb 8, 2020
@kaihendry
Copy link
Contributor

kaihendry commented Feb 8, 2020

meteor npm install --save bcrypt is not happening in Docker, it is happening in the Travis environment (hence this bug title is wrong): https://travis-ci.org/unee-t/frontend/jobs/647164051/config

The solution which I am working on #894 is to make sure that the build and tests happen all within a controlled Dockerfile instead of the Travis environment of language: node_js which can change IIUC and is probably the cause of these issues. i.e. Node was updated etc.

@franck-boullier franck-boullier changed the title Issue while building meteor - Missing dependancies in the Docke image Issue while building meteor - Missing dependancies Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants