Can't install, update or run Meteor after update

前端 未结 6 730
面向向阳花
面向向阳花 2020-12-05 16:22

I have been working with Meteor apps for a few months. For the first time, anytime I try to run a meteor app, install via (curl https://install.meteor.com | /bin/sh) or run

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 16:46

    When you bundle / build meteor on one environment (i.e. OS X) and then try to deploy on a different environment (i.e. Ubuntu) it seems that meteor includes the wrong libraries.

    I could be wrong in this, in any case I found that uninstalling and re-installing the bcrypt library worked for me (well at least it got me to the point where I get other errors)

    Find the directory where npm list bcrypt exists, then type npm remove bcrypt and then npm install bcrypt.

    In Meteor V1.2 this is easy to find. In Meteor V1.3 I think it's in .../bundle/programs/server/npm/node_modules/meteor/npm-bcrypt

提交回复
热议问题