Hegel: Can't install VSCode extenstion

Created on 21 May 2020  路  12Comments  路  Source: JSMonk/hegel

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.

bug

Most helpful comment

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

All 12 comments

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 ^_^.

image
In debug I got this error and after nothing working

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

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 : /

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

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

@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. :(

@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

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

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

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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devhammed picture devhammed  路  3Comments

karimsa picture karimsa  路  4Comments

millsp picture millsp  路  3Comments

vkurchatkin picture vkurchatkin  路  5Comments

Raynos picture Raynos  路  4Comments