代码之家  ›  专栏  ›  技术社区  ›  Craig

反应Stepzilla和反应16

  •  0
  • Craig  · 技术社区  · 6 年前

    我试图使用react stepzilla,但在安装程序包时出现错误:

    react stepzilla@4.7.2需要react@15.5.4的对等方,但没有 安装。您必须自己安装对等依赖项。

    我在用 "react": "^16.5.2",

    这里的问题是Stepzilla不支持React 16.x吗?有办法解决这个问题吗?

    在运行时,我得到错误:

    未找到./node_modules/react stepzilla/dist/main.js模块中的错误: 错误:无法解析“d:\软件”中的“promise” 开发\repositories\github\myproj\node\u modules\react stepzilla\dist' @./node_模块/react stepzilla/dist/main.js 21:15-33

    我在编辑中也看到了这一点: enter image description here

    0 回复  |  直到 6 年前