MAPC / living-little-staging

Staging (GitHub Pages) repo for Living Little toolkit
MIT License
0 stars 0 forks source link

Fix deployment pipeline #17

Open atomtay opened 4 years ago

atomtay commented 4 years ago

Recent re-deploys of the repo have resulted in failing builds. The most recent, from August 3, fails during the Run enriikke/gatsby-gh-pages-action@v2 action and presents the following output:

failed Building production JavaScript and CSS bundles - 1.224s
error Generating JavaScript bundles failed

[BABEL] /home/runner/work/living-little-staging/living-little-staging/.cache/production-app.js: Cannot find module '@babel/compat-data/corejs3-shipped-proposals'
Require stack:
- /home/runner/work/living-little-staging/living-little-staging/node_modules/@babel/preset-env/lib/polyfills/corejs3/usage-plugin.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/@babel/preset-env/lib/index.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/@babel/core/lib/config/files/plugins.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/@babel/core/lib/config/files/index.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/@babel/core/lib/index.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/babel-loader/lib/index.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/gatsby/dist/utils/babel-loader.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/loader-runner/lib/loadLoader.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/loader-runner/lib/LoaderRunner.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/webpack/lib/NormalModule.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/webpack/lib/NormalModuleFactory.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/webpack/lib/Compiler.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/webpack/lib/webpack.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/gatsby/dist/commands/build-html.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/gatsby/dist/commands/build.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/gatsby-cli/lib/create-cli.js
- /home/runner/work/living-little-staging/living-little-staging/node_modules/gatsby-cli/lib/index.js
not finished run queries - 2.173s
not finished Generating image thumbnails - 2.131s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]The process '/usr/bin/yarn' failed with exit code 1

The last successful run was on June 8.