Open ghost opened 8 years ago
I saw this issue previously. The easiest solution is to remove the meteorhacks:npm
(and meteorhacks:npm-container
I think...) if you have those as dependencies, and just use the native ES2016 module loading capabilities of Meteor.
So any packages you have in packages.json should end up in a standard nodejs package.json
file at the root level of your application.
Example:
meteor remove react
meteor npm install --save react/react
Okay, I'll try that. Thanks.
Hi,
I deploy my meteor application as a Docker container and my Dockerfile looks like this:
Dockerfile
Everything works perfect but as soon as I add npm to my app ...
npm for meteor
... the log shows the following error message (the log is upside down) upon deployment.
Do you know what's going on here and how I can fix that?
Error log