logoalt Hacker News

eddythompson80 • yesterday at 10:47 PM • 1 reply • view on HN

not saying it's not possible to setup your environment that way, but in my experience, if you're installing outside a sandbox, you're also running outside a sandbox. I don't even follow the flow of installing packages outside said sandboxed environment being a container or VM and running inside it. People who use dev containers will have the entire toolchain in the dev container, and with VMs, while you could share the file system with something like virtio-fs or SMB/NFS, I don't understand the flow of `npm install` on the host then run in a VM. that sounds pretty awkward to me.


Replies

td521534f12 • yesterday at 11:09 PM

It's to make stuff like autocomplete or source browsing work in your IDE