Skip to content

[xo_fix 127] /usr/bin/env: 'node': No such file or directory when using nvm #27

Open
@IPWright83

Description

I keep getting this error from the plugin when I've enabled

{
    "fix_on_save": true,
}

I've already configured my Sublime linter settings, is there something else I need to do?

// SublimeLinter Settings - User
{
    "paths": {
        "linux": ["/home/ian/.nvm/versions/node/v14.16.0/bin/node"]
    },
    "linters": {
        "xo": {
            "env": {
                "PATH": "/home/ian/.nvm/versions/node/v14.16.0/bin:$PATH"
            }
        }
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions