Skip to content

Snconsistent environment setup and missing version constraints causing example failures #579

@endovix

Description

@endovix

While working with the repository, I noticed that several examples fail depending on the local environment configuration (Node.js, Solana CLI, Anchor, etc.).

There are existing issues related to build/test failures (e.g. Node.js version incompatibility), which suggests that the repository currently lacks strict version control or reproducible setup.

Problems observed:
-No .nvmrc, .tool-versions, or Docker setup for consistent environments
-Node.js version incompatibilities (e.g. Node 23 issues)
-Anchor / Solana CLI version mismatches are not documented
-Examples rely on pnpm but version is not enforced
-Some tests fail depending on local setup

Expected behavior:
All examples should run consistently across environments with minimal setup.

Similar issues have already been reported regarding build failures, indicating this is a recurring problem rather than an isolated case.

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