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

Incompatible with AssemblyScript 0.20.13 #13

Open
AuHau opened this issue Jul 12, 2022 · 1 comment
Open

Incompatible with AssemblyScript 0.20.13 #13

AuHau opened this issue Jul 12, 2022 · 1 comment

Comments

@AuHau
Copy link

AuHau commented Jul 12, 2022

When I try to build with the latest AssemblyScript I get some weird "not found" errors:

> [email protected] build
> asc assembly/index.ts -b build/protocol-tmp.wasm --use abort=assembly/index/abort --optimize

ERROR TS6054: File '~lib/@wapc/as-guest.ts' not found.

 import { register } from '@wapc/as-guest'
                          ~~~~~~~~~~~~~~~~
 in assembly/module.ts(52,26)

ERROR TS6054: File '~lib/@wapc/as-msgpack.ts' not found.

 import { Decoder, Writer, Encoder, Sizer, Codec } from '@wapc/as-msgpack'
                                                        ~~~~~~~~~~~~~~~~~~
 in assembly/module.ts(1,56)

FAILURE 2 parse error(s)
@AuHau
Copy link
Author

AuHau commented Jul 13, 2022

Hmm it is releated to how AssemblyScript now does modules resolution and basically requires to append /assembly to the package names now: https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.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