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

Loader example does not work #29

Open
everflux opened this issue Apr 10, 2023 · 0 comments
Open

Loader example does not work #29

everflux opened this issue Apr 10, 2023 · 0 comments

Comments

@everflux
Copy link

Running the loader example results in


> @assemblyscript/[email protected] test
> node tests

Example 1:
/tmp/examples/loader/node_modules/@assemblyscript/loader/umd/index.js:174
      if (id !== STRING_ID) throw Error(`not a string: ${ptr}`);
                            ^

Error: not a string: 1056
    at __getString (/tmp/examples/loader/node_modules/@assemblyscript/loader/umd/index.js:174:35)
    at Object.<anonymous> (/tmp/examples/loader/tests/index.js:22:22)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47

Node.js v18.15.0

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

1 participant