-
Notifications
You must be signed in to change notification settings - Fork 1
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 doesn't seem to be waiting for async results #8
Comments
why do you need |
I just threw that together a quick example for clarity. |
ah, looks like the issue came from /_error page |
… could have sworn that it was… hm… Unfortunately we've already moved on to dumping the lib and doing the query on every page (ugh), it was a pretty huge refactor so I'm not eager to undo it. So silly that NextJS hasn't had this all along, I truly don't get why it has such a better rep than Gatsby. This is basic functionality. |
They acknowledged the problem, so they support this function in their new app layout, you can take a look here: |
I'm seeing some problems in the build phase of our app that uses this lib. Everything runs fine in dev mode, but during the compile phase it spews some errors, and build isn't getting the "common props" at all.
I've set up my config like this…
… and in the consumer component…
When I run
yarn dev
, my terminal outputs something like this…Similar results on
yarn build
, except I never even seeretrieved
.My best guess is that NextJS (13.4.9) is plowing forward with the build before the promises in the config are fulfilled — possibly a new release optimization doesn't play well with the package?
Any advice or insight you could offer would be greatly appreciated.
[addendum: this code has been working fine since April; then this glitch showed up about one month ago.]
The text was updated successfully, but these errors were encountered: