Download wix package fail...help #3770
-
When I run: $ npx vue-cli-service tauri:build The error happend: Compiling app v0.1.0 (D:\VscodeItems\tauri-app\src-tauri)
Finished release [optimized] target(s) in 22.91s
info: Verifying wix package
info: Downloading https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
(node:10460) UnhandledPromiseRejectionWarning: Error: failed to bundle project: `Tls Error: The remote host forcibly closed an existing connection. (os error 10054)`: Tls Error: An existing connection was forcibly closed by the remote host. (os error 10054)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10460) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10460) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. I dont't know what should I do... help :( my node env: $ node v14+ I try to upgrade my node version to Compiling app v0.1.0 (D:\VscodeItems\tauri-app\src-tauri)
Finished release [optimized] target(s) in 21.85s
info: Verifying wix package
info: Downloading https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: failed to bundle project: `Io Error: No such host known. (os error 11001)`: Io Error: No such host known. (os error 11001)] {
code: 'GenericFailure'
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
It's probably blocked by a firewall or something. Can you try downloading it manually and unpack it into the src-tauri dir so that the project structure looks similar to this:
|
Beta Was this translation helpful? Give feedback.
-
I also encountered the same error, and my computer could not connect directly to the Internet. I tried to decompress the Wix compressed package I downloaded manually under :
but the error still persisted. After querying the source code, I found that
The relevant code is as follows: Hope it helps those who encounter the same problem : ) |
Beta Was this translation helpful? Give feedback.
It's probably blocked by a firewall or something. Can you try downloading it manually and unpack it into the src-tauri dir so that the project structure looks similar to this: