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 6.11.2 下编译错误 #75

Open
yaoteng opened this issue Aug 25, 2017 · 4 comments
Open

node 6.11.2 下编译错误 #75

yaoteng opened this issue Aug 25, 2017 · 4 comments

Comments

@yaoteng
Copy link

yaoteng commented Aug 25, 2017

npm ERR! [email protected] rebuild-serialport: electron-rebuild -f -w serialport
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the [email protected] rebuild-serialport script 'electron-rebuild
-f -w serialport'.

@mahmutakyol
Copy link

mahmutakyol commented Aug 25, 2017

run (for windows)

npm install --global --production windows-build-tools npm install

and then ---->

npm run rebuild-serialport

@yaoteng
Copy link
Author

yaoteng commented Aug 26, 2017

thanks ! but not work

@yaoteng
Copy link
Author

yaoteng commented Aug 26, 2017

Rebuild Failed

unhandled error occurred inside electron-rebuild
WARN install got an error, rolling back install
ERR! configure error
ERR! stack Error: connect ETIMEDOUT 52.216.192.24:443
ERR! stack at Object.exports._errnoException (util.js:1026:11)
ERR! stack at exports._exceptionWithHostPort (util.js:1049:20)
ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:1

ERR! System Windows_NT 6.1.7601
ERR! command "D:\Program Files\nodejs\node.exe" "D:\Documents\Downloads
Block-master\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--target=1
13" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from
urce"
ERR! cwd D:\Documents\Downloads\mBlock-master\node_modules\node-hid
ERR! node -v v6.5.0
ERR! node-gyp -v v3.6.2
ERR! not ok

led with exit code: 1

or: gyp WARN install got an error, rolling back install
ERR! configure error
ERR! stack Error: connect ETIMEDOUT 52.216.192.24:443
ERR! stack at Object.exports._errnoException (util.js:1026:11)
ERR! stack at exports._exceptionWithHostPort (util.js:1049:20)
ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:1

ERR! System Windows_NT 6.1.7601
ERR! command "D:\Program Files\nodejs\node.exe" "D:\Documents\Downloads
Block-master\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--target=1
13" "--arch=x64" "--dist-url=https://atom.io/download/electron" "--build-from
urce"
ERR! cwd D:\Documents\Downloads\mBlock-master\node_modules\node-hid
ERR! node -v v6.5.0
ERR! node-gyp -v v3.6.2
ERR! not ok

led with exit code: 1
at SafeSubscriber._error (D:\Documents\Downloads\mBlock-master\node_modules
wn-rx\lib\src\index.js:267:84)
at SafeSubscriber.__tryOrUnsub (D:\Documents\Downloads\mBlock-master\node_mo
es\rxjs\Subscriber.js:238:16)
at SafeSubscriber.error (D:\Documents\Downloads\mBlock-master\node_modules\r
\Subscriber.js:197:26)
at Subscriber._error (D:\Documents\Downloads\mBlock-master\node_modules\rxjs
bscriber.js:128:26)
at Subscriber.error (D:\Documents\Downloads\mBlock-master\node_modules\rxjs
scriber.js:102:18)
at MapSubscriber.Subscriber._error (D:\Documents\Downloads\mBlock-master\nod
odules\rxjs\Subscriber.js:128:26)
at MapSubscriber.Subscriber.error (D:\Documents\Downloads\mBlock-master\node
dules\rxjs\Subscriber.js:102:18)
at SafeSubscriber._next (D:\Documents\Downloads\mBlock-master\node_modules\s
n-rx\lib\src\index.js:241:65)
at SafeSubscriber.__tryOrUnsub (D:\Documents\Downloads\mBlock-master\node_mo
es\rxjs\Subscriber.js:238:16)
at SafeSubscriber.next (D:\Documents\Downloads\mBlock-master\node_modules\rx
Subscriber.js:185:22)
ERR! code ELIFECYCLE
ERR! errno 4294967295
ERR! [email protected] rebuild-serialport: electron-rebuild -f -w serialport
ERR! Exit status 4294967295
ERR!
ERR! Failed at the [email protected] rebuild-serialport script.
ERR! This is probably not a problem with npm. There is likely additional log
g output above.

ERR! A complete log of this run can be found in:
ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2017-08-26T0
2_29_524Z-debug.log

@mahmutakyol
Copy link

:(( you can remove node-modules and try again. Sometimes windows machines run non-stable :(

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