Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroring under windows-latest #2

Closed
mrecachinas opened this issue Mar 30, 2020 · 2 comments
Closed

Erroring under windows-latest #2

mrecachinas opened this issue Mar 30, 2020 · 2 comments

Comments

@mrecachinas
Copy link

Works perfectly (and efficiently) under macOS-latest and ubuntu-latest, but under windows-latest, it's throwing the following error:

Run jetli/wasm-pack-action@v0.2.0
Installing wasm-pack v0.9.1 ...
Downloading wasm-pack from https://github.com/rustwasm/wasm-pack/releases/download/v0.9.1/wasm-pack-v0.9.1-x86_64-pc-windows-msvc.tar.gz ...
Extracting wasm-pack to C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack ...
C:\windows\system32\tar.exe xz -C C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack -f D:\a\_temp\6dc27533-e606-4b47-baee-68dde941d860
##[error]ENOENT: no such file or directory, rename 'C:\Users\RUNNER~1\AppData\Local\Temp\setup-wasm-pack\wasm-pack.exe' -> 'C:\Users\runneradmin\.cargo\bin\wasm-pack.exe'
Done

Do you have any suggestions on how to fix this? I would have thought your

await io.mkdirP(execFolder)

on main.ts#L64 would be sufficient, but it appears the

await io.mv(path.join(extractedFolder, archTopFolder, exec), execPath)

is still failing.

@jetli
Copy link
Owner

jetli commented Mar 31, 2020

Fixed and released v0.3.0, please try again.

@jetli jetli closed this as completed Mar 31, 2020
@mrecachinas
Copy link
Author

That did the trick -- thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants