alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)
https://ice.work
MIT License
17.96k stars 2.1k forks source link

"build-plugin-dev-inspector" 插件,一安装上去,npm start 就报错 #4839

Closed WebTianJie closed 3 years ago

WebTianJie commented 3 years ago

package.json

 "devDependencies": {
    "@ali/build-plugin-ice-def": "0.1.7",
    "@ice/spec": "1.0.0",
    "build-plugin-dev-inspector": "^0.1.1",
    "build-plugin-fusion": "^0.1.0",
    "build-plugin-moment-locales": "^0.1.0",
    "eslint": "^6.0.1",
    "eslint-plugin-react-hooks": "^4.2.0-rc.3",
    "ice.js": "1.9.8",
    "stylelint": "^13.2.0"
  },

build.json

{
  "plugins": [
    [
      "build-plugin-fusion",
      {
        "themePackage": "@alife/theme-97"
      }
    ],
    [
      "build-plugin-moment-locales",
      {
        "locales": [
          "zh-cn"
        ]
      }
    ],
    "build-plugin-dev-inspector",
    "build-plugin-icestark",
    "@ali/build-plugin-ice-def"
  ]
}

errors

image

ClarkXia commented 3 years ago

1.x 版本下使用可以暂时锁定 "build-plugin-dev-inspector": "0.1.0" 版本,