wasm2lua icon indicating copy to clipboard operation
wasm2lua copied to clipboard

Failure to install using npm

Open Diminim opened this issue 2 years ago • 1 comments

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: #https://github.com/xtuc/webassemblyjs/issues/1132

Diminim avatar Nov 04 '22 10:11 Diminim

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.

Malte0621 avatar Apr 05 '23 10:04 Malte0621