Skip to content

Commit

Permalink
The error you are getting is due to the next export command. The next…
Browse files Browse the repository at this point in the history
… export command does not work with the App Router. If you are using the App Router in your Next.js project, you will need to disable it before running the next export command.
  • Loading branch information
carrycooldude committed Jul 29, 2023
1 parent 41cf0d7 commit 20e739a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}

module.exports = nextConfig
const nextConfig = {
experimental: {
images: false,
},
output: "export",
router: false,
};

module.exports = nextConfig;

0 comments on commit 20e739a

Please sign in to comment.