反应找不到模块
React can't find Module
我正在尝试安装一个名为 'react-stepzilla' 的软件包。
我已经通过 NPM 安装并保存了它,并确保它包含在 .package-json 文件中。所有文件也都在那里。
我在主要组件的顶部包含了以下内容...
从 'react-stepzilla';
导入 StepZilla
但我得到的只是这条消息...
https://i.stack.imgur.com/M96Au.png
所以我认为它在错误的位置查找模块。我该如何解决?
There is no "dist" folder in the NPM package so the module can't be
used in a project.
对此深表歉意...
有些回归,'dist' 文件夹在新版本中被遗漏了。
现在可以使用了。
https://github.com/newbreedofgeek/react-stepzilla/issues/7 已关闭。
确保 运行 npm update react-stepzilla
获取最新版本。
谢谢,
newbreedofgeek(react-stepzilla 作者)
我正在尝试安装一个名为 'react-stepzilla' 的软件包。 我已经通过 NPM 安装并保存了它,并确保它包含在 .package-json 文件中。所有文件也都在那里。
我在主要组件的顶部包含了以下内容... 从 'react-stepzilla';
导入 StepZilla但我得到的只是这条消息... https://i.stack.imgur.com/M96Au.png
所以我认为它在错误的位置查找模块。我该如何解决?
There is no "dist" folder in the NPM package so the module can't be used in a project.
对此深表歉意...
有些回归,'dist' 文件夹在新版本中被遗漏了。
现在可以使用了。 https://github.com/newbreedofgeek/react-stepzilla/issues/7 已关闭。
确保 运行 npm update react-stepzilla
获取最新版本。
谢谢, newbreedofgeek(react-stepzilla 作者)