DEV Community

Peter
Peter

Posted on

wasm-pack access denied

I am wanting to start using rust as wasm in a preact application.

I am running on a Windows 10 machine with the latest versions of both rust and wasm-pack installed.

When I run wasm-pack --version, I get the version print out as expected.

When I try and run any other wasm-pack (i.e. wasm-pack build) command I get OS Error 5 Access Denied.

Related GitHub issue

Has anyone else encountered a similar problem or have some places I could look for a solution?

I have tried re-installing wasm-pack (both using the windows installer found here and using cargo install wasm-pack). I have also tried changing the permissions on both the cargo/bin folder and the application directory.

Discussion (0)