🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207
stars
17
forks
source link
Error MacOs M1: Could not create WasmInstance from valid module with context: unknown import: `wasi_snapshot_preview1::fd_write` has not been defined' #429
Hello, I started a new subgraph repo using the graph init cli from Thegraph documentation.
I had follow the matchstick install setup from Thegraph doc
When running graph test I'm getting the following error :
I'm using node version
╰─ node -v
v20.11.1
I'm also using homebrew that has install postgresql under /opt/homebrew/opt/postgresql@14/ folder, and I had copy the libpq.5.dylib where the doc suggest /usr/local/opt/postgresql/lib/libpq.5.dylib.
Hello, I started a new subgraph repo using the
graph init
cli from Thegraph documentation. I had follow the matchstick install setup from Thegraph doc When running graph test I'm getting the following error :I'm using node version
I'm also using homebrew that has install postgresql under
/opt/homebrew/opt/postgresql@14/
folder, and I had copy thelibpq.5.dylib
where the doc suggest/usr/local/opt/postgresql/lib/libpq.5.dylib
.Here my repo dependencies: