i have my coding projects directory stored on a mounted share(smb/cifs) and when i try to install eslint/prettier packages in the top level of that directory i get these errors:
kinghat@kinghat-neon:/media/kinghat/kinghat-server/coding$ npm i -D prettier eslint eslint eslint-config-prettier eslint-plugin-prettier npm WARN deprecated email@example.com: CircularJSON is in maintenance only, flatted is its successor. npm WARN rollback Rolling back firstname.lastname@example.org failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/kinghat/kinghat-server/coding/node_modules/acorn' npm WARN rollback Rolling back email@example.com failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/kinghat/kinghat-server/coding/node_modules/espree' npm WARN rollback Rolling back firstname.lastname@example.org failed (this is probably harmless): ENOTEMPTY: directory not empty, rmdir '/media/kinghat/kinghat-server/coding/node_modules/eslint' npm WARN email@example.com No description npm WARN firstname.lastname@example.org No repository field.
npm ERR! path ../acorn/bin/acorn npm ERR! code ENOTSUP npm ERR! errno -95 npm ERR! syscall symlink npm ERR! nospc ENOTSUP: operation not supported on socket, symlink '../acorn/bin/acorn' -> '/media/kinghat/kinghat-server/coding/node_modules/.bin/acorn' npm ERR! nospc There appears to be insufficient space on your system to finish. npm ERR! nospc Clear up some disk space and try again.
npm ERR! A complete log of this run can be found in: npm ERR! /home/kinghat/.npm/_logs/2018-12-26T18_31_34_610Z-debug.log
i know there is plenty of space where the packages are being installed:
kinghat@kinghat-neon:~$ df -h /media/kinghat/kinghat-server/coding Filesystem Size Used Avail Use% Mounted on //kinghat-server/share 899G 652G 248G 73% /media/kinghat/kinghat-server
ive seen issues with symlink stuff but im not sure if thats only windows users to linux? or is it any time you are transacting over a samba share? im on ubuntu locally and the share is located on ubuntu server.
i have found that docker has had similar issues but i think they go it sorted out:
ive also tried adding
mfsymlinks to my fstab mount as well with no luck, unless im doing it wrong.
if anyone has any idea if there is a way around this or if i just need to move my coding directory locally it would be a big help.