MeteorJS Mup - Pushing to bundle stuck at 0% on new computer

305 views Asked by At

I have a MeteorJS app pushing to a Digital Ocean droplet. I recently got a newer Macbook Pro and am now doing all my dev on that (my old computer was a Macbook Pro too).

When I deploy to Digital Ocean using Mup on my new computer, everything goes as expected but then hangs on 0% when attempting to push the bundle to the server.

I have tried rerunning mup init and mup setup which works fine with no issues, so it is not an SSH access issue. I can also ssh into my server from my new computer without issue.

I have tried mup deploy --verbose, viewed both Debug=* mup deploy and mup logs but there is no error appearing - it simply hangs at 0% and never fails.

The really odd thing is that when I copy the meteor directory to my old computer and deploy, it works completely fine and does not hang.

2

There are 2 answers

0
mcnk On

I was facing the same issue with node version v21.3.0 and i switched back to current LTS v20.9.0 and it is fixed now. It is always a good idea to stick with LTS.

For people who are using mac here is an easy way to change node versions

1- brew install nvm

2- source $(brew --prefix nvm)/nvm.sh

3- nvm install v20.9.0

4- nvm use 20.9.0

1
lluistar On

At https://github.com/zodern/meteor-up/issues/1183 recommend to downgrade Node to v12.18.3.

I was having the same issue and it has worked for me.

I ended uninstalling brew node and using nvm instead.