ExtropyIO/SolanaBootcamp

build fails exercise 7 is not added to this repo yet

Closed this issue · 0 comments

https://github.com/ExtropyIO/SolanaBootcamp/blob/566a05db2f9f72670840d5052b6c661b514c564b/examples_baremetal/Cargo.toml#LL14C20-L14C20

You can reproduce this error by cloning the project and run npm i && npm run build

[2023-06-08T07:27:29.588926820Z ERROR cargo_build_sbf] Failed to obtain package metadata: `cargo metadata` exited with an error: error: failed to load manifest for workspace member `/workspace/SolanaBootcamp/examples_baremetal/example7-access/rust`
    
    Caused by:
      failed to read `/workspace/SolanaBootcamp/examples_baremetal/example7-access/rust/Cargo.toml`
    
    Caused by:
      No such file or directory (os error 2)

Solution

Ask students to comment it out before running npm run build or patch it by commenting that line