#Overlapping rules in `_routes.json` after 3.8
5 messages · Page 1 of 1 (latest)
The error comes from this:
{
"version": 1,
"include": [
"/*"
],
"exclude": [
"/_nuxt/*",
"/_nuxt/builds/*",
"/_nuxt/builds/meta/*",
Since it has: "/_nuxt/*" it shouldn't have "/_nuxt/builds/*" or "/_nuxt/builds/meta" as those are counted as overlapping
Did you find a solution?
No, but as a workaround you can set manifest to false in nuxtConfig, now there is an open issue on nitro, so it's being investigated.
After change the manifest pnpm didn't work, do you have the same problem too?
`ℹ Building Nitro Server (preset: cloudflare-pages) nitro 13:54:01
(node-resolve plugin) Could not resolve import "unenv/runtime/node/string_decoder/index/" in /projects/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js using exports defined in /projects/node_modules/.pnpm/unenv@1.7.4/node_modules/unenv/package.json.
[nitro 13:54:11] ERROR Error: Cannot resolve "unenv/runtime/node/string_decoder/index/" from "/projects/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js" and externals are not allowed!
undefined
[13:54:11] ERROR Cannot resolve "unenv/runtime/node/string_decoder/index/" from "/projects/node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js" and externals are not allowed!
`