-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Extension fails to load #325
Comments
The whole 'out' folder is not created in /config/extensions/keesschollaart.vscode-home-assistant-1.6.5/ |
This is happening to me to. tried both linuxserver and codercom docker images on ubuntu 18.04. I know my settings are correct because I tested them on my computer's VS Code. |
Install also failed for me with addon-vscode/code-server using the store. Same module not found error. However when I tried installing using VSCode on Windows it worked. In the end I copied the files to my home assistant directory manually which got it working. |
Had the same issue. I setup vscode on my linux desktop and that worked fine so I copied the extension folder on my desktop (~/.vscode/extensions/keesschollaart.vscode-home-assistant-1.6.5) to the extensions folder of the code-server config and restarted. Everything works as intended now. |
Did you guys use a clone of this repo? If so, that will not work (and cause those issues). For code-server the current compatible version of this extension is 1.6.5, the latest has issues caused by the Home Assistant WebSocket library. The latter we hope to fix asap |
I'm seeing this issue even with version 1.6.5 on |
@frenck I'm getting the error you mentioned:
By no means I'm any expert on JS stuff, but looking at the code here I would recommend replacing the output from AMD to ESM (I believe you can even have both, though most developers I know use CJS + ESM) |
Yes I am aware of the issue and the upstream PR, hence the additional note in the 1.8.0 release notes of this extension Recent code-servers are bundled with NodeJS 14, which trigger the problem on code-server. |
fixed in #431 |
Hi,
I just installed the linuxserver/code-server docker container and installed your extension, however it didn't work for me. The only hint what I could find is the below snippet from exthost.log. I have no idea how to continue
Find my Home Assistant Configuration here:
Extension runs in:
I'm running VS Code on:
I'm accessing my files:
Edit: added my docker-compose.yaml
The text was updated successfully, but these errors were encountered: