Skip to content

Incompatible with NVM #330

Description

@zzph

Hi,

Just writing this as a service for others who get in this headache.

nvm does not play nicely with eslint/sublime. I spent weeks on/off trying to configure paths etc to get this working. It just doesn't.

My solution?

Remove nvm, instead use volta (seems better anyway). Then npm install -g eslint and voilia!

My config looks like this

{
    "linters": {
        "eslint": {
            "disable": false,
            "args": ["--env=es6"],
            "env": {
               "PATH": "/Users/[USER_NAME]/.volta/tools/image/node/18.16.0/bin"
            }
        }
    }
}

Maybe it's worth updating the README.MD to reflect this

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions