【发布时间】:2021-03-19 16:26:07
【问题描述】:
我正在使用的图表库有一个错误,为了解决这个问题,我应该运行这个脚本:https://github.com/plouc/nivo/blob/master/scripts/patch-react-spring.js。在构建之前。我曾想过添加“prebuild”:“npm run patch-react-spring.js”并在package.json下的根目录中添加patch-react-spring.js文件。但是,当我执行 npm run patch-react-app 或 npm run prebuild 时,我得到错误:npm ERR!缺少脚本:patch-react-spring.js
这是项目的 GitHub 存储库:https://github.com/JonasHendel/SunPosition
【问题讨论】:
标签: javascript reactjs nivo-react