-
Notifications
You must be signed in to change notification settings - Fork 0
Common Issues
kengo edited this page Mar 3, 2023
·
2 revisions
When you try to build assets via mage go:compileSharedData and you receive
ERROR in ./assets/stylesheets/sol.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleNotFoundError: Module not found: Error: Can't resolve 'sol/dist/sol.css' in '/Users/kiiyeki/workspace/moma.org.kubed/repos/moma-go/assets/stylesheets'
Then you will need to link moma-go and sol. See README.md.
When trying to generate a staging build via yarn build
# on `staging`
$ yarn build
$ webpack -p --config webpack.config.js --mode production
/bin/sh: webpack: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Try running yarn install and then yarn build again.