包构建命令在尝试编译时抛出错误



当我运行"npm运行dev"它工作起来很有魅力,但是当我启动"npm run dev"时,就会发生这样的事情。我有包裹、包和约曼。

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! parcel-sass-boilerplate@1.0.0 build: `parcel build src/index.html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the parcel-sass-boilerplate@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersnikokAppDataRoamingnpm-cache_logs2021-09-28T07_20_11_855Z-debug.log

Add—no-minify输入如下脚本:

"build": "parcel build src/index.html --no-minify"

最新更新