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 rebuild [email protected] #17

Open
dor-roter opened this issue Dec 18, 2018 · 0 comments
Open

Cannot rebuild [email protected] #17

dor-roter opened this issue Dec 18, 2018 · 0 comments

Comments

@dor-roter
Copy link

Im using the following package.json

{

"name": "electron-quick-start",
"version": "1.0.0",
"description": "A minimal Electron application",
"main": "main.js",
"scripts": {
"start": "electron .",
"electron-rebuild": "electron-rebuild -f -w opencv4nodejs",
"install": "npm run electron-rebuild",
"postinstall": "electron-builder install-app-deps"
},
"repository": "https://github.com/electron/electron-quick-start",
"keywords": [
"Electron",
"quick",
"start",
"tutorial",
"demo"
],
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"electron": "^3.0.13",
"electron-builder": "^20.38.3",
"electron-rebuild": "^1.8.2"
},
"dependencies": {
"opencv4nodejs": "^4.13.0",
"socket.io": "^2.2.0"
}
}

and this is the error log it's generating

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files (x86)\nodejs\node.exe',
1 verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'rebuild' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prerebuild', 'rebuild', 'postrebuild' ]
5 info lifecycle [email protected]prerebuild: [email protected]
6 info lifecycle [email protected]
rebuild: [email protected]
7 verbose lifecycle [email protected]rebuild: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
rebuild: PATH: C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\sharedVm\notal-electron\node_modules.bin;C:\Python27;C:\Python27\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Microsoft MPI\Bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime\QTSystem;C:\Users\Dor.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Git\cmd;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Skype\Phone;C:\Program Files\dotnet;C:\WINDOWS\System32\OpenSSH;C:\Ffmpeg\bin;C:\Program Files (x86)\nodejs;C:\Program Files\CMake\bin;C:\Users\Dor\AppData\Roaming\npm;C:\Users\Dor.windows-build-tools\python27;C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Dor\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules.bin;C:\Users\Dor\AppData\Roaming\npm\node_modules.bin;C:\Program Files (x86)\N;C:\Users\Dor\AppData\Roaming\npm\node_modules\forever\bin;C:\sharedVm\notal\node_modules.bin\jsdoc
9 verbose lifecycle [email protected]rebuild: CWD: C:\sharedVm\notal-electron
10 silly lifecycle [email protected]
rebuild: Args: [ '/d /s /c', 'electron-rebuild -f -w opencv4nodejs' ]
11 silly lifecycle [email protected]rebuild: Returned: code: 4294967295 signal: null
12 info lifecycle [email protected]
rebuild: Failed to exec rebuild script
13 verbose stack Error: [email protected] rebuild: electron-rebuild -f -w opencv4nodejs
13 verbose stack Exit status 4294967295
13 verbose stack at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:978:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\sharedVm\notal-electron
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "rebuild"
18 verbose node v11.2.0
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 4294967295
22 error [email protected] rebuild: electron-rebuild -f -w opencv4nodejs
22 error Exit status 4294967295
23 error Failed at the [email protected] rebuild script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 4294967295, true ]

Thanks in advanced

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

1 participant