Npm package installation error on other partition

That might not have been necessary. But I can’t really say, as I wasn’t there.

You don’t need to create directories with sudo. You just need to set the ownership and permissions once the drive is successfully mounted. You do that once with root, or using sudo and it’ll be fine afterwards.

The reason it was mounted there by your file manager is because, according to it, it’s not a permanent drive, so it does mounts it “temporarily”. But mounting it as a permanent drive, that’s no longer a problem.

See

1 Like