Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Can't install VSCode extenstion #228

Closed
snatvb opened this issue May 21, 2020 · 12 comments
Closed

Can't install VSCode extenstion #228

snatvb opened this issue May 21, 2020 · 12 comments
Labels
bug Something isn't working

Comments

@snatvb
Copy link

snatvb commented May 21, 2020

Hello. On your site, link must lead to marketplace but it is not. Link is leading to home page of the site.

Ok, I tried install manually, but I can't. Command npm run compile does not exist in package.json of hegel/packages/language-server, because I can't compile extention and install in my IDE.

I want to try your solution.

@JSMonk JSMonk added the bug Something isn't working label May 21, 2020
@JSMonk
Copy link
Owner

JSMonk commented May 21, 2020

I've just changed info about running the extension.
Currently, vsce tool, which is needed to package the extension, have a problem with different npm version. Issue 246
So, it will be a lot of problem with local building the extension.
Please, try to run it by VS Code debugger by the Instruction
Thank you for your interest.
And thank you a lot for the issue ^_^.

@snatvb
Copy link
Author

snatvb commented May 24, 2020

image
In debug I got this error and after nothing working

@Kapelianovych
Copy link
Contributor

@snatvb did you make npm install or yarn(from yesterday we moved to yarn)?

@thecotne
Copy link
Contributor

apparently i broke it in #252

now i am trying to fix it and i got it in a state where it does not report any errors but still does not work : /

@Kapelianovych
Copy link
Contributor

@thecotne no. It is not your fault. There is problem to package extension with npm. We need yarn. You did great work)

@thecotne
Copy link
Contributor

it was failing to start for me because of change in file structure of @hegel/core

this is my fix but it still does not exactly work https://github.com/JSMonk/hegel/pull/260/files#diff-d73f388b124308df3ed9c8993f08f40bL1-R3

@Kapelianovych
Copy link
Contributor

@thecotne yeah. It will not work until new change will be in npm registry. language-server use @hegel/core and @hegel/cli from npm, not local ones. :(

@thecotne
Copy link
Contributor

@YevhenKap no after yarn it uses local packages (except @hegel/typings as it's broken)

well it should use local packages if it's configured correctly

@snatvb
Copy link
Author

snatvb commented May 26, 2020

@YevhenKap oh, probably you are right, i will look at that soon

@snatvb
Copy link
Author

snatvb commented May 30, 2020

Yes, it's work! Thanks all!
But has some problems
image

@snatvb snatvb closed this as completed May 30, 2020
@thecotne
Copy link
Contributor

@snatvb syntax highlighting is not provided by extension ...

is this vscode with javascript syntax? maybe you have some other extension messing with js syntax?

@snatvb
Copy link
Author

snatvb commented May 31, 2020

@thecotne maybe problem in theme, i think this problem with and second
by the way, why hegel does not suppord number[] syntax?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants