MadeofTin / bellows-riddles-base

Where I keep track of the Bellow's Riddle Quest data so I can share it with my team
4 stars 2 forks source link

Can't seem to get GCE working... #15

Open MadeofTin opened 9 years ago

MadeofTin commented 9 years ago

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

MadeofTin commented 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.

MadeofTin commented 9 years ago

Maybe the problem is NPM is already running somewhere? Since GCE started it in the setup script.

MadeofTin commented 9 years ago

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