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':
|
case 'npm':
|
||||||
return {
|
return {
|
||||||
install: 'npm install',
|
install: 'npm install --legacy-peer-deps',
|
||||||
add: 'npm install',
|
add: 'npm install --legacy-peer-deps',
|
||||||
addDev: 'npm install -D',
|
addDev: 'npm install --legacy-peer-deps -D',
|
||||||
rm: 'npm rm',
|
rm: 'npm rm',
|
||||||
exec: 'npx',
|
exec: 'npx',
|
||||||
list: 'npm ls',
|
list: 'npm ls',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user