dalance / svls

SystemVerilog language server
MIT License
466 stars 31 forks source link

Can't get svls to install #305

Open gkaragatchliev opened 5 months ago

gkaragatchliev commented 5 months ago

I want to install in Windows 11. I've used the terminal of my VSCode and Win Power Shell. I tried the following:

  1. Clone: git clone https://github.com/dalance/svls.git
  2. cd .\svls\
  3. npm install -g . npm error code ENOENT npm error syscall open npm error path C:\Users\gkara\Downloads\svls\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Users\gkara\Downloads\svls\package.json'

Or if using install from GIT repo: ;; npm install -g https://github.com/dalance/svls.git npm error code ENOENT npm error syscall open npm error path C:\Users\gkara\AppData\Local\npm-cache_cacache\tmp\git-cloneWW8czl\package.json

The issue always seems to be this json file. I have the clone, any other way I can install it?

xtexChooser commented 2 months ago

This is a rust project, and you should install it with cargo install svls. Why are you using npm?