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

npm install fails #7

Closed
viperguynaz opened this issue Oct 22, 2018 · 2 comments
Closed

npm install fails #7

viperguynaz opened this issue Oct 22, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@viperguynaz
Copy link

viperguynaz commented Oct 22, 2018

Running on:

  • Windows 10
  • node 8.12.0
  • npm 5.8.5

I have run npm install -g create-flex-plugin and create-flex-plugin plugin-test and cd plugin-test. When I run npm install I get a ton of errors all similar to 'xxx': is not a member of 'v8':

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bufferutil.cc
win_delay_load_hook.cc
c:\projects\flex\plugin-test\node_modules\twilio-client\node_modules\nan\nan.h(213): error C2039: 'ThrowException': is
not a member of 'v8' (compiling source file ..\src\bufferutil.cc) [C:\projects\flex\plugin-test\node_modules\twilio-cli
ent\node_modules\ws\build\bufferutil.vcxproj]
c:\users\dirwin.node-gyp\8.12.0\include\node\node.h(101): note: see declaration of 'v8' (compiling source file ..\sr
c\bufferutil.cc)
c:\projects\flex\plugin-test\node_modules\twilio-client\node_modules\nan\nan.h(213): error C2039: 'New': is not a membe
r of 'v8::String' (compiling source file ..\src\bufferutil.cc) [C:\projects\flex\plugin-test\node_modules\twilio-client
\node_modules\ws\build\bufferutil.vcxproj]
c:\users\dirwin.node-gyp\8.12.0\include\node\v8.h(2503): note: see declaration of 'v8::String' (compiling source fil
e ..\src\bufferutil.cc)

If I try to run npm start it fails because there is no file index.html in the public folder.

@viperguynaz
Copy link
Author

viperguynaz commented Oct 23, 2018

Figured out the npm start issue - on Windows, it needs to be run with administrative privileges to copy the index.html file. Still having the npm install issue.

@dkundel
Copy link
Member

dkundel commented Oct 25, 2018

Hi @viperguynaz,

Thanks for flagging these two issues. I'll look into changing the behavior of the npm start command from symlinking to copying the file over.

On the other issue this seems to be an issue with some native module dependencies. @madisabel can your team please investigate this? This seems to be an issue with some dependencies on Windows.

Cheers,
Dominik

@dkundel dkundel added the bug Something isn't working label Oct 25, 2018
andreasonny83 pushed a commit to andreasonny83/flex-plugin-builder that referenced this issue May 7, 2019
ktalebian added a commit that referenced this issue Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants