Skip to content

Silence "Can't find version in dotfiles" when using --resolve-engines #1308

@tekumara

Description

@tekumara

Given eval "$(fnm env --use-on-cd --resolve-engines)" when I switch to a directory that has a package.json but no node version specified I get:

error: Can't find version in dotfiles. Please provide a version manually to the command.

Could an option be added to disable this? Otherwise I have to specify a node version in every directory/repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions