mirror of
https://github.com/zhigang1992/npm.git
synced 2026-04-29 12:35:34 +08:00
Update EROFS error to be a bit more informative.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user