0

我是 sage 的新手,我正在本地机器上处理现有项目。当我运行yarn buildyarn build:production出现此错误时:

yarn run v1.22.10
$ webpack --env.production --progress --config resources/assets/build/webpack.config.js

Error: No configuration provided for /Volumes/kawase/WordPress_dev/Local/chao/app/public/wp-content/themes/chao/resources/assets/styles/main.scss
   at module.exports (/Volumes/kawase/WordPress_dev/Local/chao/app/public/wp-content/themes/chao/node_modules/stylelint/lib/utils/configurationError.js:8:28)
   at stylelint._fullExplorer.load.then.then.config (/Volumes/kawase/WordPress_dev/Local/chao/app/public/wp-content/themes/chao/node_modules/stylelint/lib/getConfigForFile.js:46:15)

error Command failed with exit code 1.

结果它删除了/dist文件夹,我根本没有样式。

希望有人能帮忙!谢谢

4

0 回答 0