webpack / webpack.js.org

Repository for webpack documentation and more!
https://webpack.js.org
Creative Commons Attribution 4.0 International
2.21k stars 3.31k forks source link

Failing build #4031

Closed EugeneHlushko closed 3 years ago

EugeneHlushko commented 4 years ago

The build started to fail with missing supporters and starter kits

ERROR in ./components/StarterKits/StarterKitsTable.jsx
Module not found: Error: Can't resolve './_starter-kits.json' in '/home/travis/build/webpack/webpack.js.org/src/components/StarterKits'
 @ ./components/StarterKits/StarterKitsTable.jsx 11:0-40 17:5-9
 @ ./components/StarterKits/StarterKits.jsx
 @ ./components/Site/Site.jsx
 @ ./index.jsx
ERROR in ./components/Support/Support.jsx
Module not found: Error: Can't resolve './_supporters.json' in '/home/travis/build/webpack/webpack.js.org/src/components/Support'

Sample failure: https://travis-ci.org/github/webpack/webpack.js.org/jobs/733593393

Need to investigate why it started to occur

EugeneHlushko commented 4 years ago

Anyone able to pick up? i am busy cc @chenxsan @montogeek

chenxsan commented 4 years ago

@EugeneHlushko yarn cypress:ci would start the development server with the yarn start script, but in CI server we don't run "fetch" script to generate the _supporters.json and _starter-kits.json files before that.

Adding a prestart script should hopefully fix those warnings. Let me create a pull request to see if it will eliminate those warnings.

Btw, I don't think it's related to the CI failure there, I think the warnings have been there for quite a long time as I remembered.

chenxsan commented 3 years ago

closed via https://github.com/webpack/webpack.js.org/pull/4032