maierfelix / maierfelix/POGOserver

Need help

Open
#228 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
476
Forks
198
PR merge metrics
No merged PRs in 30d

Description

So whenever I open up the install-bat file it gives me an error which I am not sure how to fix, the error is:

C:\Users\owner\Desktop\POGOserver-master>set LIBPROTOBUF=C:\Users\owner\Desktop\POGOserver-master\protobuf

C:\Users\owner\Desktop\POGOserver-master>npm install node-protobuf && npm install
npm WARN package.json POGOServer@0.5.9 license should be a valid SPDX license expression
/

node-protobuf@1.3.3 install C:\Users\owner\Desktop\POGOserver-master\node_modules\node-protobuf
node-gyp rebuild

C:\Users\owner\Desktop\POGOserver-master\node_modules\node-protobuf>if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
init.cpp
native.cpp
parse.cpp
serialize.cpp
c:\users\owner\desktop\pogoserver-master\node_modules\node-protobuf\src\common.h(11): fatal error C1083: Cannot open in
clude file: 'google/protobuf/descriptor.h': No such file or directory (compiling source file ..\src\parse.cpp) [C:\User
s\owner\Desktop\POGOserver-master\node_modules\node-protobuf\build\protobuf.vcxproj]
c:\users\owner\desktop\pogoserver-master\node_modules\node-protobuf\src\common.h(11): fatal error C1083: Cannot open in
clude file: 'google/protobuf/descriptor.h': No such file or directory (compiling source file ..\src\native.cpp) [C:\Use
rs\owner\Desktop\POGOserver-master\node_modules\node-protobuf\build\protobuf.vcxproj]
c:\users\owner\desktop\pogoserver-master\node_modules\node-protobuf\src\common.h(11): fatal error C1083: Cannot open in
clude file: 'google/protobuf/descriptor.h': No such file or directory (compiling source file ..\src\init.cpp) [C:\Users
\owner\Desktop\POGOserver-master\node_modules\node-protobuf\build\protobuf.vcxproj]
c:\users\owner\desktop\pogoserver-master\node_modules\node-protobuf\src\common.h(11): fatal error C1083: Cannot open in
clude file: 'google/protobuf/descriptor.h': No such file or directory (compiling source file ..\src\serialize.cpp) [C:
Users\owner\Desktop\POGOserver-master\node_modules\node-protobuf\build\protobuf.vcxproj]
win_delay_load_hook.cc
^CTerminate batch job (Y/N)?

If anyone knows how to fix this please let me know, thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with install-bat and the node-protobuf installation step, then inspect the node-gyp build output around src/common.h and the missing google/protobuf/descriptor.h include. Confirm which protobuf path the script provides and whether the required headers are available to the build; done means npm install completes without the fatal C1083 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.