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

Suggestion improve: "npm install" do no install optional, but error do not resolve #75

Closed
tsuyoshicho opened this issue Jan 7, 2020 · 2 comments

Comments

@tsuyoshicho
Copy link
Contributor

tsuyoshicho commented Jan 7, 2020

Try latest settings in windows.

Happen

bash-language-server depends fsevents.
But fsevents only depend mac, also windows/linux OPTIONAL DEPENDENCY)

now windows occur error

Failed to initialize bash-language-server with error -32603: Request initialize failed with message: EPERM: operation not permitted, scandir 'C:\Users\MyName\Application Data'

Suggestion

Change to below:

npm install --no-optional

see rel info

It do not install optional package

Pros and Cons

Pros:

  • do no occur error in Windows/Linux
  • minimize server install

Cons:

  • nothing?

Result

I try it, but not resolved... 😢

@tsuyoshicho tsuyoshicho changed the title "npm install" do not install optional pkg suggest "npm install" do no install optional, but error do not resolve Jan 7, 2020
@tsuyoshicho tsuyoshicho changed the title suggest "npm install" do no install optional, but error do not resolve Suggestion improve: "npm install" do no install optional, but error do not resolve Jan 7, 2020
@tsuyoshicho
Copy link
Contributor Author

This problem

  • bash-language-server -> fsevents
  • Windows %USERPROFILE% (Application Data junction folder)
    only problem.

other pos starts OK, close it.

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

1 participant