Build process gets stuck building native windows dependencies
See original GitHub issue-
Version:
- Node : 8.11.1
- NPM : 5.6.0
- Yarn : 1.6.0
- electron : 1.8.3
- electron-builder : 20.4.1
-
Target: Windows (NSIS)
-
Description: I am trying to build an application, built works great for linux and osx but gets stuck on windows. I don’t get any errors, the build process just stay in the step:
rebuilding native dependency name=secp256k1
forever. Actualy I am not event building the app yet, just trying to runnpm i
oryarn
. -
Logs:
Build started
git config --global core.autocrlf input
git checkout -qf c0a029795ab91c46b5226ba31f940cd6e98ccc07
Running Install scripts
Install-Product node 8 x64
Uninstalling node 4.8.7 (x86)...
Installing node 8.11.1 (x64)...
yarn
yarn install v1.5.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info 7zip-bin-linux@1.3.1: The platform "win32" is incompatible with this module.
info "7zip-bin-linux@1.3.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info 7zip-bin-mac@1.0.1: The platform "win32" is incompatible with this module.
info "7zip-bin-mac@1.0.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.1.2: The platform "win32" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info app-builder-bin-linux@1.7.2: The platform "win32" is incompatible with this module.
info "app-builder-bin-linux@1.7.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info app-builder-bin-mac@1.7.2: The platform "win32" is incompatible with this module.
info "app-builder-bin-mac@1.7.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > eslint-config-bloq@1.1.0" has incorrect peer dependency "eslint-config-standard@>= 11".
warning " > eslint-config-bloq@1.1.0" has unmet peer dependency "eslint-plugin-jsdoc@>= 3".
warning " > eslint-config-bloq@1.1.0" has incorrect peer dependency "eslint-plugin-node@>= 6".
[4/4] Building fresh packages...
success Saved lockfile.
$ electron-builder install-app-deps
• electron-builder version=20.5.1
• loaded configuration file=package.json ("build" field)
• loaded parent configuration preset=react-cra
• rebuilding native production dependencies platform=win32 arch=x64
• rebuilding native dependency name=keccak
• rebuilding native dependency name=websocket
• rebuilding native dependency name=sha3
• rebuilding native dependency name=secp256k1
Thanks a lot for your help.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
android - Stuck with Gradle Build Running - Stack Overflow
Actually it is not stuck. It takes more time to build. I have got almost 3 solutions that can fix the issue. Solution-1:....
Read more >A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
1. Try running npm install with the --no-optional flag. ... If you're lucky, the dependency that requires node-gyp will be optional, and you...
Read more >Attempting to build on Windows - Development - Joplin Forum
Just gets stuck in some kind of infinite loop where it doesn't actually seem to finish doing anything after 10 mins. Going off...
Read more >Troubleshooting build errors and crashes - Expo Documentation
If you are working on a managed app and the build error is a native error rather than a JavaScript error, this is...
Read more >Improve the Performance of Gradle Builds
A build whose execution time is dominated by a single subproject won't benefit much at all. Niether will a project with lots of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ghadaghada
I could solve the issue doing the following:
npm i -g --production windows-build-tools
node_modules
and useyarn
to install local deps.DEBUG=electron-builder
yarn
.Thanks you, I added PYTHON to the Path. Then I executed the set DEBUG = electron-builder command and running yarn again but this error appears.