docker-meteor icon indicating copy to clipboard operation
docker-meteor copied to clipboard

Ends at Building the bundle...(this may take a while) no error shown

Open adammendoza opened this issue 6 years ago • 1 comments

I'm using this app which works locally but does not build on docker

git clone https://github.com/dockercochabamba/todos.git meteor-todos-docker
adam@mpb:~/code/meteor/meteor-todos-docker$ docker run \
>   -e ROOT_URL=http://localhost:3000/ \
>   -v $(pwd):/home/meteor/src \
>   -e MONGO_URL=mongodb://mongodb3:27017/appdb \
>   -e MONGO_OPLOG_URL=mongodb://mongodb3:27017/local \
>   ulexus/meteor
Meteor source found in /home/meteor/src/.meteor
Checking Meteor version...
Downloading Meteor install script...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7786    0  7786    0     0  19656      0 --:--:-- --:--:-- --:--:-- 19711
Installing Meteor 1.4.4.1...
Downloading Meteor distribution

Meteor 1.4.4.1 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  docs.meteor.com

Installing application-side NPM dependencies...
npm WARN src No repository field.
npm WARN src No license field.
Building the bundle...(this may take a while)
adam@mpb:~/code/meteor/meteor-todos-docker$

adammendoza avatar Oct 25 '18 18:10 adammendoza

Unfortunately, there could be quite a number of reasons for this. The most common I've seen is that the kernel's OOM (out-of-memory) killer got it. If that is the problem, you should see it in your kernel message log, which you can view with the dmesg tool. Since it would appear you are running Docker on a Mac (I'm assuming the hostname of "mbp" is "Macbook Pro"), and since Docker runs in some weird VM setup on the Mac, that's where I would look first.

Ulexus avatar Oct 26 '18 01:10 Ulexus