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

Failure to install using npm #38

Open
Diminim opened this issue Nov 4, 2022 · 1 comment
Open

Failure to install using npm #38

Diminim opened this issue Nov 4, 2022 · 1 comment

Comments

@Diminim
Copy link

Diminim commented Nov 4, 2022

When following the installation instructions in the README.md in a clean environment I ran into this error.

npm i -g wasm2lua
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @webassemblyjs/[email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

When checking https://www.npmjs.com/package/@webassemblyjs/helper-api-error I found that there was no version 1.11.3

I speculate that this is a result of destructive changes upstream.
Likely related: #xtuc/webassemblyjs#1132

@Malte0621
Copy link

A workaround I found for this is to install from source and change "@webassemblyjs/wasm-parser": "^1.8.5", to "@webassemblyjs/wasm-parser": "1.11.1", or another version.

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