Next.js Discord

Discord Forum

Project Set Up Problems :(

Unanswered
Löwchen posted this in #help-forum
Open in Discord
LöwchenOP
I'm not sure what's wrong with my next.config file, anyone got any ideas? here's my config file and a photo of the error

module.exports = { reactStrictMode: true, basePath: "/login", webpack: (config, { isServer }) => { if (!isServer) { config.resolve.fallback.fs = false config.resolve.fallback.tls = false config.resolve.fallback.net = false config.resolve.fallback.child_process = false } return config }, experimental: { turbo: { resolveAlias: { underscore: 'lodash', mocha: { browser: 'mocha/browser-entry.js' }, }, }, }, fallback: { fs: false, tls: false, net: false, child_process: false, }, images: { domains: ["images.blabla.com", "avatar.blabla.com"], path:/login/_next/image, }, }

4 Replies

LöwchenOP
what do I replace it with?
experimental.turbo is accepted only by turbopack, you have to next dev --turbo or remove it
i don't know what fallback is for, why did you add it?