-
Notifications
You must be signed in to change notification settings - Fork 119
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
Native bcrypt requires additional command to compile on build #18
Comments
Thank you for the detailed report and reproduction repo. This issue was also reported in https://forums.meteor.com/t/meteor-docker-image-for-multistage-docker-builds/44908/11. The source of the issue is the dependency you added,
So we need to add RUN bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh \
&& cd $APP_BUNDLE_FOLDER/bundle/programs/server/npm \
&& npm rebuild --build-from-source bcrypt \
&& apk del .node-gyp-compilation-dependencies When I do this and rebuild, your app no longer crashes. |
I’ve updated the base image so that using |
Application silently crashes when
Accounts#createUser
is called.I've cloned the latest version of your repo, added
accounts-password
Meteor package andbcrypt
npm package, calledAccounts.createUser
server-side and expected it to work. Application crashed with no errors and traces in the logs.I've forked to repo to reproduce this bug. See README and last commit. Keep in mind that port
9229
is exposed and--inspect
Node.js option is passed to be able to use chrome://inspect tool.The text was updated successfully, but these errors were encountered: