Update EROFS error to be a bit more informative.

This commit is contained in:
Domenic Denicola
2014-06-24 18:33:33 -04:00
parent fd1e8b0f83
commit c08715478a

View File

@@ -278,8 +278,9 @@ function errorHandler (er) {
case "EROFS":
log.error("rofs", [er.message
,"This is most likely not a problem with npm itself"
,"and is related to read-only permissions."
,"\nVerify that the file system is not read-only."
,"and is related to the file system being read-only."
,"\nOften virtualized file systems, or other file systems"
,"that don't support symlinks, give this error."
].join("\n"))
break