Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on windows (node 9.3 & npm 5.5.1) - HELP #79

Open
trialsNow opened this issue Dec 14, 2017 · 1 comment
Open

Cannot install on windows (node 9.3 & npm 5.5.1) - HELP #79

trialsNow opened this issue Dec 14, 2017 · 1 comment

Comments

@trialsNow
Copy link

npm install pcsclite..

throws the following error

C:\Desktop\BTReaderNode\node_modules\buffertools>if not defined npm_config_node_gyp (node "D:\Program Files\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.
  buffertools.cc
  win_delay_load_hook.cc
c:\.node-gyp\9.3.0\include\node\v8.h(334): error C2988: unrecognizable template declaration/definition [C:\Desktop\BTReaderNode\node_modules\buffertools\build\buffertools.vcxproj]
c:\.node-gyp\9.3.0\include\node\v8.h(334): error C2059: syntax error : 'using' [C:\Desktop\BTReaderNode\node_modules\buffertools\build\buffertools.vcxproj]
c:\.node-gyp\9.3.0\include\node\v8.h(466): error C2332: 'enum' : missing tag name [C:\Desktop\BTReaderNode\node_modules\buffertools\build\buffertools.vcxproj]
c:\.node-gyp\9.3.0\include\node\v8.h(466): error C2236: unexpected 'class' 'v8::WeakCallbackType'. Did you forget a ';'? [C:\Desktop\BTReaderNode\node_modules\buffertools\build\buffertools.vcxproj]
......
c:\.node-gyp\9.3.0\include\node\v8.h(4046): fatal error C1003: error count exceeds 100; stopping compilation [C:\Desktop\BTReaderNode\node_modules\buffertools\build\buffertools.vcxproj]
....
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (D:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:159:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:209:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodej
s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

gyp ERR! node -v v9.3.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN BTReaderNode@1.0.0 No description
npm WARN BTReaderNode@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! buffertools@2.1.6 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the buffertools@2.1.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

@alberman
Copy link

@trialsNow Hi! Have you fixed this?
Can't figure out what i am missing.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants