Open MadeofTin opened 9 years ago
This seems like the issue.
http://stackoverflow.com/questions/12594541/npm-global-install-cannot-find-module
but note sure how to implement the solution. I don't know where GCE put the node stuff.
I get this
james_bookstobrains_com@nodejs-54hw:~/bellows-riddles-base$ which npm
/usr/local/bin/npm
james_bookstobrains_com@nodejs-54hw:~/bellows-riddles-base$ which node
/usr/local/bin/node
james_bookstobrains_com@nodejs-54hw:~/bellows-riddles-base$
I cd'ed in and node and npm are there.
Maybe the problem is NPM is already running somewhere? Since GCE started it in the setup script.
I added the template that the Google Cloud Console used to deploy the server.
https://github.com/Tinmen/bellows-riddles-base/tree/master/deploy-on-GCE/nodejs-template
Still haven't been able to get it working locally on my mac so I thought I would try it on GCE. Can you tell what is going wrong here? How did you do it on GCE?
https://github.com/Tinmen/bellows-riddles-base/blob/master/deploy-on-gce.md