-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Bcrypt #267
Comments
I have the same issue with bcrypt. I am also using that abernix/meteord:base image. This bcrypt thing happened after updating Meteor to either 1.4 or 1.4.1. I think I know the problem but I am not knowledgeable enough to solve it. So I think bcrypt requires node-gyp installed in npm to compile. Dockerfile I used:
Then I ran Then I set my mup.js to use my meteord image instead of abernix's Tried to Run If I took off bcrypt in my package.json the deploy would end with a warning, but the app would be deployed fine. edit: By increasing |
Thanks for reporting a possible solution- I was able to fix this issue by removing the npm bcrypt package. I wish that I knew more about how I can roll my own docker package so that I could do this but if anyone has any good guides for how to do it I'd be happy to give it a try. |
If you need to keep the bcrypt package and also use Meteor 1.4 I would highly recommend using the v1.4-build tag of https://github.com/CyCoreSystems/docker-meteor from @Ulexus |
I had the same issue. I needed two things: update node to its latest v6 version, and install the node-gyp to fix it. A very simple way to try that out is to use the docker image i created to fix that: Now it works great ! It is bascially the docker created by abernix but where I updated node (from v4 to v6) and installed some npm packages i needed (including node-gyp) Let me know if it helped |
@guillim |
@ivandaho which version of Meteor are you trying to deploy? |
@codehatcher 1.4.1.1 |
@guillim I've change my mup.js to use your docker but when i deploy it i get
Am i missing something? |
@doronsever the docker repo doesn't have a
|
Do i need to kill previous docker containers? Do i need to install Node 6.9.1 on my computer also in order for this to work? |
When try to deploy a Meteor project from the Windows host to the Linux server using the `mup deploy` or `meteor build --architecture os.linux.x86_64` all binary packages broken, because NPM try to rebuild packages, and failed on `node-sshpk` dependency of `bcrypt`. Linked issues: * meteor/meteor#7401 * abernix/meteord#8 * zodern/meteor-up#267
When try to deploy a Meteor project from the Windows host to the Linux server using the `mup deploy` or `meteor build --architecture os.linux.x86_64` all binary packages broken, because NPM try to rebuild packages, and failed on `node-sshpk` dependency of `bcrypt`. Linked issues: * meteor/meteor#7401 * abernix/meteord#8 * zodern/meteor-up#267
I am having an issue with
mup deploy
. It sets up great but when I run deploy I get the following error:When I look at the logs, I get the following error:
I suspect that it may be due to the docker image that I am using in my setup file but this particular image has gotten me the furthest. I am using Meteor 1.4.1 which uses node 4.5 instead of the 4.4.7 which docker is apparently using above. I wonder if that is part of the issue. Also, at meteor's recommendation I switched to the newer bcrypt (npm I think?) because it said that it was significantly faster than the native one- I started having issues around that time.
The text was updated successfully, but these errors were encountered: