Hi,
So I’ve been trying to deploy my app using meteor up since it looks the easiest to me, but when trying to install it I get this message :
root@vps719102:~# npm install --global mup
/usr/local/bin/mup -> /usr/local/lib/node_modules/mup/index.js
npm WARN lifecycle The node binary used for scripts is /snap/bin/node but npm is using /snap/node/2485/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
mup@1.4.6 postinstall /usr/local/lib/node_modules/mup
opencollective postinstall || (exit 0)
2019/08/16 08:06:28.097079 cmd_run.go:884: WARNING: cannot create user data directory: cannot create “/nonexistent/snap/node/2485”: mkdir /nonexistent: permission denied
dropping privs did not work
So I thought I would still try to deploy my app no matter what and got this message :
{ Error: spawn meteor ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
errno: ‘ENOENT’,
code: ‘ENOENT’,
syscall: ‘spawn meteor’,
path: ‘meteor’,
spawnargs:
[ ‘build’,
‘–directory’,
‘/tmp/mup-meteor-a182e078-ce50-4352-b600-66ab44a90260’,
‘–architecture’,
‘os.linux.x86_64’,
‘–server-only’ ] }
This error usually happens when meteor is not installed.
What am I supposed to do?
Also thanks for your precious help I am really thankful for that