我在部署<>Next.js申请时遇到了以下错误:
RangeError: Maximum call stack size exceeded
at RegExp.exec (<anonymous>)
at create (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:18889)
at create (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:18918)
at parse.fastpaths (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:18997)
at picomatch.makeRe (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:21635)
at picomatch (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:19637)
at /vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:19294
at Array.map (<anonymous>)
at picomatch (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:19286)
at micromatch.isMatch (/vercel/path0/node_modules/next/dist/compiled/micromatch/index.js:15:1090)
Error: Command "npm run build" exited with 1
I couldn t use debugging options, like NODE_DEBUG=regex npm run build
, to gain new insights.
我赞赏任何建议,并事先感谢你。