I’m deploying (moving) an app from a Digital Ocean Ubuntu deployment to an in house (corporate data center) VS running CentOS.
The new server is a clone of one of our other servers that has node apps managed by pm2, so the setup is proven as far as node goes.
I have done a test install using pm2-meteor and one using mup. I have been using mup on Digital Ocean for a while with no issues.
The pm2-meteor install seemed to go well, but the app errored out when pm2 tried to run it. The fibers module could not be found.
The mup setup failed out of the gate with:
x Installing PhantomJS: FAILED -and-
sudo: no tty present and no askpass program specified
The commonality seems to be the inability to install modules from the scripts.
I’m running the installs via a user with sudo privileges.
Has anyone else run into these problems? Any ideas on how to get around this?
Would it be easier for me to do this manually? sudo privileges work fine from the terminal via ssh.
If manual is the best option, how do I best accomplish that?
Thanks in advance, Alex