-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
compiler.relay must NOT have additional properties #38967
Comments
We are having the same warning after upgrade to [email protected] this morning
|
Same type of warning, no problem with [email protected]:
|
Same type of warnings appear for me as well on [email protected] - i had to downgrade to 12.1.4. Also with 12.2.2 i am running into an error if i try to use fetch inside my middleware (no problems with 12.1.4). Edit: using fetch inside middleware actually does not work for me in any version of nextjs :( Edit: i can confirm that fetch inside middleware works for me in [email protected] - related to this one #38963 where it also states that fetch inside middleware works for that version only. |
Same warnings with additional propertes in |
Getting this message here. Same with v12.2.
Due to images config.
|
@MonstraG the i18n one appears to be valid warnings as you are adding invalid config, this should be fixed in |
@Jonashr the config error you are seeing is also valid |
Seeing these kinds of warnings after updating to react 18? can they be safely ignored? |
@ijjk this is my config file
and i get the same error:
I'm not using much of the parameters, are they all mandatory fields? |
@ijjk Thanks, you are right. That removed the warning. I am still stuck with one more warning though.
This is coming from the @next/bundle-analyzer package. Removing this line, removes the warning. |
Given @Jonashr didn't share his config, I'll provide you with a basic one that will reproduce the problem. const withPlugins = require('next-compose-plugins')
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true'
})
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
reactStrictMode: true,
}
module.exports = withPlugins([[withBundleAnalyzer], nextConfig]) You correctly pointed out that I'm a bit confused after reading your comment. It's like you thought Would you need a new ticket for |
@TheThirdRace my above comment was pointing out that |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
This bug happens in the last canary, a week ago it was ok. The compiler works, that means that the values passed are properly arriving to the compiler, but we have a bunch of disturbing warning messages.
This config for a relay project warns:
Expected Behavior
Must not be warnings for needed parameters in
compiler.relay
.Link to reproduction
https://stackblitz.com/edit/vercel-next-js-gjket8?file=next.config.js
To Reproduce
Start on dev and see the warnings in the console.
The text was updated successfully, but these errors were encountered: