code-server: npm module doesn't install extension dependencies
Did a fresh install of the docker image and keep running into the following error:
Running the contributed command: 'emmet.expandAbbreviation' failed.
My only setting is:
{ "emmet.triggerExpansionOnTab": true }
No other extensions installed/enabled. Straight from installation to opening a new html file and trying to expand
!
or
ul>li*5
results in that error.
Current version details:
- code-server: v3.4.0
- VS Code: v1.45.1
- Commit: 69ad52907e8ea109345831d29da5425cb2a55047
- Date: 2020-05-27T23:38:22Z (2 mos ago)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (15 by maintainers)
Commits related to this issue
- Fix npm post install to fetch extension dependencies Closes #1961 — committed to coder/code-server by nhooyr 4 years ago
- Patch VS Code to avoid deleting extension dependencies Closes #1961 — committed to coder/code-server by nhooyr 4 years ago
- Patch VS Code to avoid deleting extension dependencies (#2170) Closes #1961 — committed to coder/code-server by nhooyr 4 years ago
- Adjust npm package postinstall to install extension dependencies (#2180) Closes #1961 — committed to coder/code-server by nhooyr 4 years ago
@nhooyr @code-asher thanks guys, I can confirm that these built in extensions now work with an npm/yarn install of 3.6.0
@tonywu3 emmet abbrev is working out of the box now on the latest
Ah yup, looks like VS Code strips the
dependenciesfrom the extensionpackage.jsonsoyarninstalls nothing: https://github.com/cdr/code-server/pull/2041#issuecomment-685910322Thanks y’all. You’re right @code-asher , this isn’t the image direct from cdr. I’m using this docker image: https://github.com/linuxserver/docker-code-server
I initially thought it was a code-server problem but it may be a problem with that linuxserver docker instead or how it’s being installed with Unraid… Just odd other folks haven’t ran into a similar problem on such a popular feature.
In any case, thanks for the help.