Closed ubranch closed 1 year ago
pake-cli@2.3.3
Windows 11 Pro 22H2 (OS Build 22621.2428)
Node.js v20.6.1
pake https://poe.com --name Poe --transparent
Successful build
[Desktop] λ pake https://poe.com --name Poe --transparent ✺ Installing package...
up to date, audited 225 packages in 1s
74 packages are looking for funding run npm fund for details
npm fund
✔ Package installed! ✹ Building app...
pake-cli@2.3.3 build npm run tauri build --release ✵ Building app... pake-cli@2.3.3 tauri tauri build Compiling windows v0.39.0 Compiling tauri-utils v1.4.0 Compiling webview2-com-sys v0.19.0 Compiling html5ever v0.25.2 Compiling tokio-util v0.7.8 Compiling toml v0.7.6 Compiling treediff v4.0.2 Compiling aho-corasick v1.0.2 Compiling tao v0.16.2 Compiling libc v0.2.147 Compiling dunce v1.0.4 Compiling regex-syntax v0.7.4 Compiling try-lock v0.2.4 Compiling ppv-lite86 v0.2.17 Compiling lazy_static v1.4.0 Compiling color_quant v1.1.0 error: failed to run custom build command for webview2-com-sys v0.19.0
pake-cli@2.3.3 build npm run tauri build --release ✵ Building app...
pake-cli@2.3.3 tauri tauri build Compiling windows v0.39.0 Compiling tauri-utils v1.4.0 Compiling webview2-com-sys v0.19.0 Compiling html5ever v0.25.2 Compiling tokio-util v0.7.8 Compiling toml v0.7.6 Compiling treediff v4.0.2 Compiling aho-corasick v1.0.2 Compiling tao v0.16.2 Compiling libc v0.2.147 Compiling dunce v1.0.4 Compiling regex-syntax v0.7.4 Compiling try-lock v0.2.4 Compiling ppv-lite86 v0.2.17 Compiling lazy_static v1.4.0 Compiling color_quant v1.1.0 error: failed to run custom build command for webview2-com-sys v0.19.0
webview2-com-sys v0.19.0
Caused by: process didn't exit successfully: C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-25c7fa5604d43a4d\build-script-build (exit code: 1) --- stdout cargo:rustc-link-search=native=C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64
C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-25c7fa5604d43a4d\build-script-build
--- stderr Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2LoaderStatic.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2LoaderStatic.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2LoaderStatic.lib" Error: Io(Error { kind: NotFound, message: "program not found" }) warning: build failed, waiting for other jobs to finish...
No response
https://tauri.app/v1/guides/getting-started/prerequisites/#2-webview2
Solved!
Search before asking
Pake version
pake-cli@2.3.3
System version
Windows 11 Pro 22H2 (OS Build 22621.2428)
Node.js version
Node.js v20.6.1
Minimal reproduce step
pake https://poe.com --name Poe --transparent
What did you expect to see?
Successful build
What did you see instead?
[Desktop] λ pake https://poe.com --name Poe --transparent ✺ Installing package...
up to date, audited 225 packages in 1s
74 packages are looking for funding run
npm fund
for details✔ Package installed! ✹ Building app...
Caused by: process didn't exit successfully:
C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-25c7fa5604d43a4d\build-script-build
(exit code: 1) --- stdout cargo:rustc-link-search=native=C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64--- stderr Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\arm64\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\arm64\WebView2LoaderStatic.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x64\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x64\WebView2LoaderStatic.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2Loader.dll" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2Loader.dll" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2Loader.dll.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2Loader.dll.lib" Copy from "C:\Users\George Branch\.cargo\registry\src\index.crates.io-6f17d22bba15001f\webview2-com-sys-0.19.0\x86\WebView2LoaderStatic.lib" -> "C:\Users\George Branch\scoop\persist\nodejs\bin\node_modules\pake-cli\src-tauri\target\release\build\webview2-com-sys-5ae78a4bb36eb26c\out\x86\WebView2LoaderStatic.lib" Error: Io(Error { kind: NotFound, message: "program not found" }) warning: build failed, waiting for other jobs to finish...
Anything else?
No response
Are you willing to submit a PR?