Code-server: no mount command in the vs code command pallet at ide.coder.com

Created on 8 Mar 2019  路  17Comments  路  Source: cdr/code-server

The mount command is not available in the command pallet. It was working before the recent change over to ide.coder.com

needs-decision

Most helpful comment

I kept it as open as the docs are out of date. Waiting for a response from @nol166

All 17 comments

Yeah, this isn't a bug. That's not an available feature anymore, Coder removed it because it wasn't gonna work properly with this release of code-server, (I think that's what you told me, right @coadler ?) as they now both use the same software. Issue can be closed.

@nol166

Correct, mounting is no longer available. But, whatever you had mounted previously will still be on your container

@coadler does that mean these docs are out of date?

https://coder.com/docs/languages

Yep

@nol166

How do I install npm?

The npm site (https://www.npmjs.com/get-npm) says, that it comes installed with node:
Screenshot 2019-03-11 at 08 03 14

One easy way is using nvm to install node and npm: https://github.com/creationix/nvm

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash

You can even switch to/from node versions on demand:

nvm install 8 // install most up to date version 8.x
nvm install 11 // same, most 11.x updated one
nvm list // list all installed versions
nvm use 11 // change active version to 11.x

and so...

All versions came with npm, maybe you need to reload bash!

I highly recommend https://github.com/tj/n over nvm. It keeps all sessions running on the same node env. It's very convenient.

Just a reminder that n don't work on Windows, but for code-server, it's fine! haha :smiley:

@foresthoffman @marceloadsj @rholland Hey, dunno if this helps at all, but I just put together code-server-npm which adds a mount-like command using n like Forest suggested! Not done a build yet, but I will do

Going to mark this down as resolved.

I kept it as open as the docs are out of date. Waiting for a response from @nol166

Okay, first build complete.
https://github.com/haydennyyy/code-server-npm/releases/latest
It's also on the marketplace as qubedev.code-server-npm

@nhooyr I updated the docs today. Just waiting for approval.

Moving this issue to coder/bugs since it doesn't pertain to the open source code-server

Was this page helpful?
0 / 5 - 0 ratings

Related issues

infogulch picture infogulch  路  3Comments

oonqt picture oonqt  路  3Comments

pchecinski picture pchecinski  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments

RealSlimMahdi picture RealSlimMahdi  路  3Comments