You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you try to follow the example with the current version that is available, the asc will give you an error ERROR TS6054: File '~lib/as-wasi.ts' not found.
the error can be fixed by changing the import { Console, FileSystem, Descriptor } from "as-wasi" to import { Console, FileSystem, Descriptor } from "as-wasi/assembly";
The text was updated successfully, but these errors were encountered:
arcanist123
changed the title
assembly script example does not work
assembly script example does not compile
Jul 1, 2022
if you try to follow the example with the current version that is available, the asc will give you an error ERROR TS6054: File '~lib/as-wasi.ts' not found.
the error can be fixed by changing the import { Console, FileSystem, Descriptor } from "as-wasi" to import { Console, FileSystem, Descriptor } from "as-wasi/assembly";
The text was updated successfully, but these errors were encountered: