We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unknown error when setting up NextJS config:
Injecting property=output and value=export in: import bundleAnalyzer from '@next/bundle-analyzer'; const withBundleAnalyzer = bundleAnalyzer({ enabled: process.env.ANALYZE === 'true', }); export default withBundleAnalyzer({ reactStrictMode: false, eslint: { ignoreDuringBuilds: true, }, experimental: { optimizePackageImports: ['@mantine/core', '@mantine/hooks'], }, }); Error: TypeError: error must be an instance of Error
The text was updated successfully, but these errors were encountered:
As I tested, this is because my config contains
import bundleAnalyzer from '@next/bundle-analyzer'; const withBundleAnalyzer = bundleAnalyzer({ enabled: process.env.ANALYZE === 'true', });
Sorry, something went wrong.
I think this PR solves the issue - #161
I saw a similar issue in Nextjs Repo
Then made a complex work around in workspace yml to solve this issue
Like
next.config
Setup Pages
basePath
Example
No branches or pull requests
Unknown error when setting up NextJS config:
The text was updated successfully, but these errors were encountered: