Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install no longer supported for yaml-language-server #446

Closed
oeuftete opened this issue Aug 7, 2021 · 2 comments
Closed

npm install no longer supported for yaml-language-server #446

oeuftete opened this issue Aug 7, 2021 · 2 comments

Comments

@oeuftete
Copy link

oeuftete commented Aug 7, 2021

Looks like maybe redhat-developer/yaml-language-server#458 was the upstream change that led to this?

Edit: I originally thought this was preventing the language server from running, but it does not.

Wrote to /home/me/.local/share/vim-lsp-settings/servers/yaml-language-server/package.json:

{
  "name": "yaml-language-server",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}


npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: {
npm WARN EBADENGINE     node: '*',
npm WARN EBADENGINE     npm: '\n\nERROR: Please use yarn, npm is not supported in this repository!!!\n\n',
npm WARN EBADENGINE     yarn: '^1.22.5'
npm WARN EBADENGINE   },
npm WARN EBADENGINE   current: { node: 'v16.5.0', npm: '7.19.1' }
npm WARN EBADENGINE }

added 24 packages, and audited 25 packages in 650ms

found 0 vulnerabilities

[Process exited 0]
@oeuftete oeuftete changed the title npm install no longer works for yaml-language-server npm install no longer supported for yaml-language-server Aug 7, 2021
@lunarxlark
Copy link
Contributor

lunarxlark commented Aug 24, 2021

I fixed this problem in #450.

@mattn
Copy link
Owner

mattn commented Aug 24, 2021

Closed by #450

@mattn mattn closed this as completed Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants