Closed gaetandezeiraud closed 6 years ago
I had a similar problem caused by the fact that my node_modules where missing. Running
meteor npm install
in my app directory solved this problem.
I'm wondering if this command should be run in the entrypoint.sh script as well. In particular if the repository if fetched via git and the node_modules are not committed.
@abate That's a good question. npm install
is run in the server-internal directory, but now that npm is used everywhere in Meteor, that may well need to be done. At a minimum, it probably shouldn't be disruptive.
not sure that npm install is the same as calling meteor npm install . For sure, it will use the npm version bundled in meteor, but it might be doing other things as well... I'm not entirely sure, but I've noticed in my project that npm install is not enough to install all the modules in node_modules directory ...
@abate Yeah, I'll change that to meteor npm install
, which should be safer.
Fixed by a8acdd5efe5af2ff70450e4667920f671093011d
Hello, thanks for your work. But i'm facing the same problem event i updated to latest version of image
I don't see any errors in that screenshot, but did you see any in the backscroll? Anyway, how do you know it isn't working? Have you expose the port you expect it to be running on? Would you care to post your invocation commandline for verification?
Hello, I have a problem with docker-meteor, i'm use Docker on Windows 10 and the container stand at this step ' Starting Meteor Application ...'. Without change several minutes. I have build the project with 'meteor build ../' on Windows. And use this docker-compose (same problem directly with the docker command): https://pastebin.com/VfjKxAPi
Thanks for your awnser.