Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Fetching grammars #5496

Closed
sascha-andres opened this issue Jan 11, 2023 · 3 comments
Closed

Fetching grammars #5496

sascha-andres opened this issue Jan 11, 2023 · 3 comments

Comments

@sascha-andres
Copy link

I try to fetch grammars, but all grammars fail to fetch with cannot create directory like this:

 Failure 123/123: Could not create grammar directory "/tmp/.mount_hxkLAvdb/usr/lib/helix/runtime/grammars/sources/bicep"

Besides that /tmp has no special perms, can I override the temp dir helix is using fot his?

@archseer
Copy link
Member

Probably a version of #3346 since the files seem to be under /usr/lib

@sascha-andres
Copy link
Author

I tried running hx as sudo, but this led to the same error

@archseer
Copy link
Member

You shouldn't run as sudo as this will mess up your package installation. Are you trying to add new grammars or why are you trying to fetch? Right now you need to install from source and set a custom runtime path.

This will get easier once we support multiple runtime paths: #5411

@kirawi kirawi converted this issue into discussion #5583 Jan 18, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants