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.js v4.2.1 install selenium-webdriver got " node.lib : fatal error LNK1106: invalid file or disk full " error #3527

Closed
notejs opened this issue Oct 26, 2015 · 3 comments
Labels
invalid Issues and PRs that are invalid.

Comments

@notejs
Copy link

notejs commented Oct 26, 2015

Following is the error .

D:\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil>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 )
在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。
  bufferutil.cc
  win_delay_load_hook.c
C:\Users\linus\.node-gyp\4.2.1\Release\node.lib : fatal error LNK1106: invalid
file or disk full: cannot seek to 0x313C2 [D:\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil\build\bufferutil.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\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:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

OS is Win 10 64bit with MS Express 2013

I try Node.js v4.1.0,work well. I can install newest selenium-webdriver ( 2.48.0 ) .

Both node-gyp is v3.0.3.

@bnoordhuis
Copy link
Member

Please report that to the selenium-webdriver project if it's not an issue local to your machine. That 'disk full' error is a strong hint, isn't it?

@bnoordhuis bnoordhuis added the invalid Issues and PRs that are invalid. label Oct 26, 2015
@notejs
Copy link
Author

notejs commented Oct 27, 2015

Yes, it is very strange.
Actually, each partition has at least 30GB of free space.

@bnoordhuis
Copy link
Member

You may want to google for that LNK1106 error code, there are a number of potential workarounds / solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid.
Projects
None yet
Development

No branches or pull requests

2 participants