Finished release [optimized] target(s) in 0.38s thread 'main' panicked at 'failed to copy compiled contract to output directory: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', /home/alexis/multiversx-sdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-debug-0.34.1/src/meta/meta_wasm_build.rs:47:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace CRITICAL:cli:Build error: error code = 101, see output.
I get this error when trying to "mxpy contract build" from WSL but in a Windows path (like on the desktop). It works fine when I build in the root directory from WSL though.
I would like this to work so I can improve my workflow.
Any idea how to bypass this PermissionDenied error on building a contract?
In the output directory, the .abi file gets created successfully but the .wasm file is empty
Finished release [optimized] target(s) in 0.38s thread 'main' panicked at 'failed to copy compiled contract to output directory: Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" }', /home/alexis/multiversx-sdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-debug-0.34.1/src/meta/meta_wasm_build.rs:47:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace CRITICAL:cli:Build error: error code = 101, see output.
I get this error when trying to "mxpy contract build" from WSL but in a Windows path (like on the desktop). It works fine when I build in the root directory from WSL though.
I would like this to work so I can improve my workflow.
Any idea how to bypass this PermissionDenied error on building a contract?
In the output directory, the .abi file gets created successfully but the .wasm file is empty