mirror of
https://github.com/lovell/sharp.git
synced 2025-12-18 23:05:04 +01:00
Install: warn about filesystem owner running npm v8+ as root
This commit is contained in:
@@ -13,7 +13,7 @@ try {
|
||||
} else {
|
||||
const [platform, arch] = platformAndArch.split('-');
|
||||
help.push(
|
||||
'- Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"',
|
||||
'- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"',
|
||||
`- Install for the current ${platformAndArch} runtime: "npm install --platform=${platform} --arch=${arch} sharp"`
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user