執(zhí)行npm install 時出現(xiàn)錯誤如下圖:
解決辦法:
增加 --legacy-peer-deps 參數(shù),并且在package.json的script上腳本,防止以后忘記。