binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Path variable to add in Windows

Open Irene-123 opened this issue 2 years ago • 1 comments

I need help in adding the right path to the environment variable on windows. I have downloaded the Windows release. I've added this "C:\Users\kirti\Downloads\binaryen-version_111-x86_64-windows\binaryen-version_111\bin\wasm-opt.exe" path to system environment variables, but I still get the error while running my cargo contract

image

Irene-123 avatar Jan 07 '23 14:01 Irene-123

I can confirm this is still an issue in 2024:

  1. npm install wasm-opt -g
  2. wasm-opt --version
  3. wasm-opt not found

This isn't an issue with the npm pkg, but it's like you folks are checking absolute paths, for some reason, instead of PATH?

dylanh724 avatar Apr 22 '24 02:04 dylanh724