0

我正在尝试更改 npm 库的一些样式以进行反应(react-flippy)我已经分叉了该项目并根据需要对 css 进行了更改。但是,我无法构建项目,因此更改将反映在我的项目生产构建中。该文件的构建脚本是:

"build": "rm -rf dist && rollup -c",

当我尝试运行构建时出现以下错误:

> rollup' is not recognized as an internal or external command, operable
> program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm
> ERR! react-flippy@1.1.0 build: `rm -rf dist && rollup -c` npm ERR!
> Exit status 1 npm ERR!  npm ERR! Failed at the react-flippy@1.1.0
> build script. npm ERR! This is probably not a problem with npm. There
> is likely additional logging output above.

任何帮助将不胜感激!

4

0 回答 0