Next.js Discord

Discord Forum

AppDir error

Answered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
âš  Invalid next.config.js options detected:
âš  Unrecognized key(s) in object: 'appDir' at "experimental"
âš  See more info here: https://nextjs.org/docs/messages/invalid-next-config

Tried already:
/** @type {import('next').NextConfig} */
module.exports = {
    experimental: {
      appDir: true,
    },
};

/** @type {import('next').NextConfig} */
module.exports = {
   appDir: true,
};
Answered by Giant panda
Remove it completely.
View full answer

4 Replies

Giant panda
Remove it completely.
Answer
Giant panda
It's no longer necessary.
American black bearOP
oof
@Giant panda It's no longer necessary.
American black bearOP
because i try
Folder Pages/issue -> (website)/issue