Skip to content

miniohm-go - Error loading module: error compiling module: section custom: failed to read module name size: EOF #563

@gmhta

Description

@gmhta

When trying the example in miniohm-go the error

Error loading module: error compiling module: section custom: failed to read module name size: EOF

Steps to reproduce

git clone https://github.com/ohmjs/miniohm-go.git
cd miniohm-go
# note npx isn't working for me, so create a package.json
pnpm init
pnpm add -D @ohm-js/wasm
# add '"arithmetic.ohm": "ohm2wasm testdata/arithmetic.ohm"' to scripts
pnpm run arithmetic.ohm
make test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions