fix(core): add --legacy-peer-deps to npm installs to handle npm 7 related issues
This commit is contained in:
parent
55f6c11622
commit
2604711f5f
@ -42,9 +42,9 @@ export function getPackageManagerCommand(
|
||||
|
||||
case 'npm':
|
||||
return {
|
||||
install: 'npm install',
|
||||
add: 'npm install',
|
||||
addDev: 'npm install -D',
|
||||
install: 'npm install --legacy-peer-deps',
|
||||
add: 'npm install --legacy-peer-deps',
|
||||
addDev: 'npm install --legacy-peer-deps -D',
|
||||
rm: 'npm rm',
|
||||
exec: 'npx',
|
||||
list: 'npm ls',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user