Are there any samples or docs anywhere?
dsyer opened this issue · comments
Dave Syer commented
Envy sounds like just what I need, but there are no docs I can find, or examples. Looking at the package.json
I might guess that npm start
would do something interesting, and there is what looks like it may be a sample in ./assembly
. It fails with a cryptic error (I tried with node 16 and 18):
$ npm start
> @envy-as/cli@1.0.0 start
> run-s test-cli
> @envy-as/cli@1.0.0 test-cli
> node --experimental-wasi-unstable-preview1 --enable-source-maps lib/bootstrap
(node:8164) ExperimentalWarning: WASI is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
███████ ███ ██ ██ ██ ██ ██
██ ████ ██ ██ ██ ██ ██
█████ ██ ██ ██ ██ ██ ████
██ ██ ██ ██ ██ ██ ██
███████ ██ ████ ████ ██
No entry points specified. Using assembly/**/*.spec.ts
No wasm binary found. Exiting code 1.
ERROR TS6054: File 'workspaces/envy/assembly/index.ts' not found.
FAILURE 1 parse error(s)
ERROR: "test-cli" exited with 1.
So I don't really know how to proceed, or what I did wrong.
Jayson Harshbarger commented
Same question here... would like to see come docs.
Built with AssemblyScript suggests to use envy for AssemblyScript >= 0.20... but found that as-pect still works fine.