Closed Tinche closed 1 year ago
Hello!
You want to invoke asc
with the --transform json-as/transform
flag, not the JSON k/v pair.
Example:
asc assembly/index.ts --target debug --transform json-as/transform
Sorry I expressed myself unclearly, I tried both unsuccessfully.
I think there might be an issue with my project setup though, another library I needed to import using "../node_modules/x"
instead of just x
.
What version of AssemblyScript are you using? This is happening to me in the latest version.
Found the problem. I ran asinit .
and it messed with the exports. Releasing with the next version in a few minutes
Done.
Thanks, that solved my issue!
Hello!
I'm trying to get started with this library, not having too much experience with WASM, AssemblyScript or TypeScript for that matter.
I followed the instructions from the README, but when I invoke
asc
with"transform": "json-as/transform"
in my options, I get the error from the title.Would be great if you could help me with what I'm doing wrong. Thanks!