magicblock-labs / magicblock-labs/bolt

bolt test error

Open
#214 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
64
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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)`

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with `./bolt init mygg` and `./../bolt test`, then inspect the generated project's package.json and programs/mygg/Cargo.toml. Determine whether completion means both commands run without the git-init and yanked bolt-lang errors, and use that as the acceptance check.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, typescript
Domain
blockchain, build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.