What can I help with? Please keep this clear and concise.
You might accept custom NextConfig for people which are using Sentry for example, or things like poweredByHeader, so allow all properties
I have this error with my custom NextConfig:
- The root value has an unexpected property, 17, which is not in the list of allowed properties (amp, analyticsId, assetPrefix, basePath, cleanDistDir, compiler, compress, crossOrigin, devIndicators, distDir, env, eslint, excludeDefaultMomentLocales, experimental, exportPathMap, future, generateBuildId, generateEtags, headers, httpAgentOptions, i18n, images, onDemandEntries, optimizeFonts, output, outputFileTracing, pageExtensions, poweredByHeader, productionBrowserSourceMaps, publicRuntimeConfig, reactStrictMode, red
Summary
What can I help with? Please keep this clear and concise.
You might accept custom NextConfig for people which are using Sentry for example, or things like
poweredByHeader
, so allow all propertiesI have this error with my custom NextConfig:
Versions
next-pwa@5.6.0
:next@12.1.0
:How To Reproduce
Steps to reproduce the behavior:
Quick example with
poweredByHeader
Expected Behaviors
You gonna have an error like:
- The root value has an unexpected property, 0, which is not in the list of allowed properties (poweredByHeader)
Screenshots
Additional Context
Work super fine with these versions:
next-pwa@5.5.6
:next@12.1.0
: