Skip to content

Cannot build the project #14

@worldquake

Description

@worldquake

I am using WSL on Windows 11 (Linux, Ubuntu)
I followed the manual: Rust, NodeJs.. etc are installed

$ rustc -V
rustc 1.77.2 (25ef9e3d8 2024-04-09)
$ node -v
v20.12.2
$ yarn -v
1.22.22
$ solana -V
solana-cli 1.17.25 (src:d0ed878d; feat:3580551090, client:SolanaLabs)

Solana is setup on Dev

$ solana config set -ud
Config File: .../.config/solana/cli/config.yml
RPC URL: https://api.devnet.solana.com
WebSocket URL: wss://api.devnet.solana.com/ (computed)
Keypair Path: .../.config/solana/id.json
Commitment: confirmed
$ solana balance
1 SOL

I had to change the *.sh files to be executable and on running the build:

$ setup (main *)$ ./build.sh
....
[2024-04-26T08:29:12.863287462Z ERROR cargo_build_sbf] Failed to obtain package metadata: `cargo metadata` exited with an error: error: failed to load manifest for workspace member `.../pirate-bootcamp/quest-1/.local_keys`

    Caused by:
      failed to read `.../pirate-bootcamp/quest-1/.local_keys/Cargo.toml`

    Caused by:
      No such file or directory (os error 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions