Skip to content

Spectral fails to install with node make package not found #11341

@RyanGreenup

Description

@RyanGreenup

This is more for visibility, as I couldn't find anything with a quick internet search.

I was unable to install luizcorreia/spectral-language-server, with the error: "node make package not found".

I resolved it by removing the surrounding quotes in:

~/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json
4c4
<     "run": "npm exec yarn@1 install\nnpm exec --package=yarn@1 'node make package'\n"
---
>     "run": "npm exec yarn@1 install\nnpm exec --package=yarn@1 node make package\n"

This could possibly be related to fish, my default shell is typically zsh which calls fish but on this machine I haven't confirmed that.

Feel free to close this as I'm only raising it for visibility sake.

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