Open ryanfalzon opened 4 years ago
@ryanfalzon can you run cd src/desktop
and then npm ci
?
Thanks. Do you mind trying one more time? You can run $env:DEBUG="electron-builder"
(I assume you're using PowerShell) before npm ci
to get more verbose logging info. I think the issue is related to the argon2
library but it's hard to tell what's going wrong
It looks like it is not being able to retrieve builds from sources after it fails to get pre-builts.
I changed the argon2 dependency to point directly to the source as follows: "argon2": "ranisalt/node-argon2"
Doing that gave a new error which can be found in the attached logs.
Sorry this is giving you so much trouble, I don't think I've seen these issues before. Can you try running $env:DEBUG="electron-builder"
and then ./node_modules/.bin/electron-builder install-app-deps
?
The OpenSSL lib built correctly, right? That's the step where you do .\vcpkg install openssl:x64-windows-static
Sorry this is giving you so much trouble, I don't think I've seen these issues before. Can you try running
$env:DEBUG="electron-builder"
and then./node_modules/.bin/electron-builder install-app-deps
?
2020-06-15T21_37_44_390Z-debug.log
The OpenSSL lib built correctly, right? That's the step where you do
.\vcpkg install openssl:x64-windows-static
Yes did that part again and says package already installed so I guess everything is fine from that end.
Bug description
Followed the steps that are on this page: https://docs.iota.org/docs/wallets/0.1/trinity/how-to-guides/develop-features-on-trinity. When trying to run the command
npm run deps:desktop
, an error is given in the console.Version
Node Version: v10.16.3 Yarn Version: 1.22.4 Git Version: 2.17.1.windows.2
Hardware specification
What hardware are you using?
Mobile or Desktop: Desktop
Device: PC
OS and version: Windows 10 (10.0.18363 Build 18363)
RAM (Desktop only): 16GB
Number of cores (Desktop only): i7-4790k
Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.
git clone https://github.com/iotaledger/trinity-wallet.git
cd trinity-wallet
yarn deps:shared
npm install --global windows-build-tools
git clone https://github.com/Microsoft/vcpkg C:\src\vcpkg
cd C:\src\vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg install openssl:x64-windows-static
10npm run deps:desktop
Expected behaviour
All desktop dependencies should be installed successfully.
Actual behaviour
An error is given in the console.
Errors