-
Notifications
You must be signed in to change notification settings - Fork 27.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next build wont work after updating from [email protected] to [email protected] #17744
Comments
I have the same problem with fonts, |
Duplicate of #17701 and #17728 Install |
Duplicate of #17701, this was already fixed pending a stable release. |
I'm sorry, as issue #17701 was closed I didn't see it was a duplicated. Best regards |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Bug report
Describe the bug
The command
next build
fails on[email protected]
but works fine in[email protected]
.The error log is the following:
This happens when resolving an image URL from SCSS. The SCSS (
./src/containers/Cover/Cover.module.scss
):The folders structure of the repository:
.babelrc
To Reproduce
Just run
next build
on this branch of this public repository:https://github.com/tairosonloa/aalonso.dev/tree/dependabot/npm_and_yarn/next-9.5.4
NOTE: if you run
yarn build
ornpm run build
, process will throw if you don't set the env variableDOMAIN
, as it tries to execute also the npmprebuild
command, which requires the env variable to be set.To fix it, just run
export DOMAIN=aalonso.dev
on your terminal.Here is the GitHub actions log with the failing build stage:
https://github.com/tairosonloa/aalonso.dev/pull/115/checks?check_run_id=1230832954
Here is the GitHub actions log passing build step for the previous commit (before the
next
dependency update):https://github.com/tairosonloa/aalonso.dev/runs/1230831205?check_suite_focus=true
Expected behavior
The build process should resolve the image path and finish without errors, like in the previous build processes.
System information
The text was updated successfully, but these errors were encountered: