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

Node-gyp have problems for long path. #636

Closed
lygstate opened this issue May 26, 2015 · 2 comments
Closed

Node-gyp have problems for long path. #636

lygstate opened this issue May 26, 2015 · 2 comments

Comments

@lygstate
Copy link
Contributor

c1 : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_module
s\node-gyp\src\win_delay_load_hook.c': No such file or directory [C:\CI-Cor\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\n
ode_modules\engine.io-client\node_modules\ws\build\bufferutil.vcxproj]
  validation.cc
..\src\validation.cc(112): warning C4996: 'NanSymbol': was declared deprecated [C:\CI-Cor\node_modules\karma\node_modules\socket.io\node_modules\sock
et.io-client\node_modules\engine.io-client\node_modules\ws\build\validation.vcxproj]
          C:\CI-Cor\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_module
  s\nan\nan.h(616) : see declaration of 'NanSymbol'
  win_delay_load_hook.c
c1 : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\..\..\..\..\..\..\Users\lygstate\AppData\Roaming\npm\node_modules\npm\node_module
s\node-gyp\src\win_delay_load_hook.c': No such file or directory [C:\CI-Cor\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\n
ode_modules\engine.io-client\node_modules\ws\build\validation.vcxproj]
@lygstate
Copy link
Contributor Author

What's the current file dir for gypi

@lygstate
Copy link
Contributor Author

Temp fix for this issue:
modify addon.gypi
With:

          [ 'OS=="win"', {
            'sources': [
              'C:/Users/lygstate/AppData/Roaming/npm/node_modules/npm/node_modules/node-gyp/src/win_delay_load_hook.c',
            ],

So maybe we need to dynamically generate addon.gypi or some other ways.

lygstate added a commit to lygstate/node-gyp that referenced this issue May 27, 2015
…win_delay_load_hook.c,

and fixes of the long relative path issue on Win32.
Fixes of nodejs#636
lygstate added a commit to lygstate/node-gyp that referenced this issue May 31, 2015
…win_delay_load_hook.c,

and fixes of the long relative path issue on Win32.
Fixes of nodejs#636
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