We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The npm package fails to install on mingw:
npm ERR! throw new Error(`Unsupported platform: ${type} ${arch}`); npm ERR! ^ npm ERR! npm ERR! Error: Unsupported platform: MINGW32_NT-10.0 x64
This is due to the script not detecting the Windows environment correctly. I have a branch at https://github.com/nathaniel-daniel/wasm-pack/tree/mingw that fixes the issue, which I can turn into a PR.
The package should have installed.
ucrt64
pacman -S ucrt64/mingw-w64-ucrt-x86_64-nodejs
wasm-pack
npm i
Include the relevant details of your environment. wasm-pack version: N/A (Issue with NPM package) rustc version: N/A (Issue with NPM package)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
🐛 Bug description
The npm package fails to install on mingw:
This is due to the script not detecting the Windows environment correctly. I have a branch at https://github.com/nathaniel-daniel/wasm-pack/tree/mingw that fixes the issue, which I can turn into a PR.
🤔 Expected Behavior
The package should have installed.
👟 Steps to reproduce
ucrt64
)pacman -S ucrt64/mingw-w64-ucrt-x86_64-nodejs
)wasm-pack
as a dependency or dev dependency.npm i
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: N/A (Issue with NPM package)
rustc version: N/A (Issue with NPM package)
The text was updated successfully, but these errors were encountered: