TangJieHao
TangJieHao12mo ago

compile to target, 'unzip' not found.

I am on linux ubuntu 22 I downloaded, uninstalled reinstalled, written to path unzip. however no matter what I do I get the error "cannot access unzip in path"
TJ@WGDC:~/webview_ogs$ deno compile -Ar --unstable --target x86_64-unknown-linux-gnu main.ts
Check file:///../webview_ogs/main.ts
Compile file:///../webview_ogs/main.ts to webview_ogs
error: Writing webview_ogs

Caused by:
`unzip` was not found in your PATH, please install `unzip`
TJ@WGDC:~/webview_ogs$ deno compile -Ar --unstable --target x86_64-unknown-linux-gnu main.ts
Check file:///../webview_ogs/main.ts
Compile file:///../webview_ogs/main.ts to webview_ogs
error: Writing webview_ogs

Caused by:
`unzip` was not found in your PATH, please install `unzip`
3 Replies
TangJieHao
TangJieHaoOP12mo ago
I have done, unzip -v and I have checked which unzip also done ls -l /usr/local/bin/unzip to check where it was exactly.
razzi
razzi12mo ago
I notice the error message is in cli/tools/upgrade.rs in deno, so maybe if you upgrade the deno executable manually by uninstalling and reinstalling it will go away If the error persists after a reinstall, you might want to make a minimallu reproducible build example and post it as a github issue (or here)
TangJieHao
TangJieHaoOP12mo ago
hmm, I can try. I installed deno using cargo. Ill try it on my windows machine as well and see if has the same issue figured out the issue, I think the cargo finished the install without protoc