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
I'm trying to run the yarn test from counter/native directory.
$ pwd
~/program-examples/basics/counter/native
$ yarn test
Error: program file does not exist: ./target/deploy/counter_solana_native.so
Error: server closed unexpectedly
at ChildProcess.onClose (program-examples/basics/counter/native/node_modules/start-server-and-test/src/index.js:80:14)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
error Command failed with exit code 1.
I think yarn should detect which directory the test is invoked from. There should be a way to know the project root and that should be prefixed to the target/deploy/counter_solana_native.so path.
The text was updated successfully, but these errors were encountered:
I'm trying to run the yarn test from counter/native directory.
$ pwd
~/program-examples/basics/counter/native
I think yarn should detect which directory the test is invoked from. There should be a way to know the project root and that should be prefixed to the
target/deploy/counter_solana_native.so
path.The text was updated successfully, but these errors were encountered: