maierfelix / POGOserver

Pokemon GO server emulator
GNU General Public License v3.0
459 stars 197 forks source link

STILL no fix for node-gyp rebuild on install-windows.bat #270

Closed Rendaman13 closed 7 years ago

Rendaman13 commented 7 years ago

I have followed the wiki EXACTLY. I have compiled protobuf, installed XAMPP and the latest version of node.js. I can't use Ubuntu because VirtualBox no longer works on my Windows after the update. Looking at other people's issues doesn't help because they keep getting closed before they get answered. Any solutions? I'm on Windows 10.

Badley187 commented 7 years ago

it´s hard to compile protobuf on windows... try to install protobuf from the git source https://github.com/google/protobuf

after you got protobuf to install, you need to check if its installed to your PATH. after that your error is solved

Rendaman13 commented 7 years ago

Installed protobuf and added to windows path. Error persists. Argh.

Badley187 commented 7 years ago

try mnaual install without install-windows.bat npm install node-protobuf && npm install the bat file try to set your path...

Rendaman13 commented 7 years ago

This time when I got the error, I read it completely. From what I understand, "gyp" doesn't support the version of "python.exe" which is v3.5.0. Do I need to update/downdate my python?

Badley187 commented 7 years ago

install phyton 2.7

https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi

Rendaman13 commented 7 years ago

Thank you.

Rendaman13 commented 7 years ago

Reopening due to error. Now, it proceeds a little further in the installation, but then it displays a bunch of yellow text before giving me the same error. Here's a photo: err

Cronick commented 7 years ago

This is a "temporary" fix for those who can't compile node-protobuf. https://mega.nz/#!4JMhVS5a!WniZ6K-l-sbP5YMgrO13n0WzspXiMZ7qAb7NEWZ79LU

Copy the node-protobuf folder from the zip into your node_modules folder. (If there already is an node-protobuf folder, then delete it first)

After you have copied the folder into node_modules. Try to run "npm install" again, and it should not result in errors with protobuf.

Rendaman13 commented 7 years ago

npm install worked install windows.bat only gave me warnings instead of errors. However, npm run boot fails on all accounts.

ghost commented 7 years ago

try running npm run start instead of npm run boot

ghost commented 7 years ago

2016-10-09 20_47_01-npm

finally got it running using @cronic temp fix folder suggestion. and using npm run start instead of npm run boot

Rendaman13 commented 7 years ago

Glad it's working for you, no matter what I try, it still doesn't work.

Cronick commented 7 years ago

Would suggest that you update to latest version @scorp12, as I can see you are using v0.4.9, and we are currently at v0.6.0.

@Rendaman13 What error do you get by running "npm run boot"?

ghost commented 7 years ago

working on updating now. thanks @cronick for seeing that

Rendaman13 commented 7 years ago

@Cronick annoying error

Cronick commented 7 years ago

@Rendaman13 You need to rename your cfg.js.example to cfg.js

Rendaman13 commented 7 years ago

Argh. I knew I was missing something. Thanks.