Skip to content

bolt test error #214

@Sytaserver

Description

@Sytaserver

ll@ll-VMware-Virtual-Platform:/Work/soltgame$ ./bolt init mygg
yarn install v1.22.22
warning package.json: No license field
info No lockfile found.
warning No license field
[1/4] Resolving packages...
⠠ type-detect@^4.0.0Wrote program to tests/fixtures/world.so
warning mocha > glob@7.2.0: Glob versions prior to v9 are no longer supported
warning mocha > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
⠄ typescript@^4.3.5
info There appears to be trouble with your network connection. Retrying...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "@metaplex-foundation/beet-solana > @solana/web3.js > @solana/codecs-numbers@2.3.0" has incorrect peer dependency "typescript@>=5.3.3".
warning "@metaplex-foundation/beet-solana > @solana/web3.js > @solana/codecs-numbers > @solana/codecs-core@2.3.0" has incorrect peer dependency "typescript@>=5.3.3".
warning "@metaplex-foundation/beet-solana > @solana/web3.js > @solana/codecs-numbers > @solana/errors@2.3.0" has incorrect peer dependency "typescript@>=5.3.3".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 294.28s.
Error: git init failed: No such file or directory (os error 2)
ll@ll-VMware-Virtual-Platform:
/Work/soltgame$
ll@ll-VMware-Virtual-Platform:/Work/soltgame$ cd mygg
ll@ll-VMware-Virtual-Platform:
/Work/soltgame/mygg$ ls
Anchor.toml Cargo.toml node_modules programs target tsconfig.json
app migrations package.json programs-ecs tests yarn.lock
ll@ll-VMware-Virtual-Platform:~/Work/soltgame/mygg$ ./../bolt test
[2025-11-01T10:27:22.554105112Z ERROR cargo_build_sbf] Failed to obtain package metadata: cargo metadata exited with an error: Updating crates.io index
error: failed to select a version for the requirement bolt-lang = "^0.2.6"
version 0.2.6 is yanked
location searched: crates.io index
required by package mygg v0.2.6 (/home/ll/Work/soltgame/mygg/programs/mygg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions