这是一个简单的错误,我创建了一个 next.js 13.5 最新项目。然后安装material-tailwind。然后在使用时进行测试只需从材料中单击我,在开发模式下它运行完美......但是当我使用yarn build或托管vercel时,它显示错误。当我删除从material-tailwind导入的组件时,它在开发模式下完美运行,并且也完美构建和部署..但是如果我从material-tailwind导入任何组件,它在开发模式下完美工作,但是当尝试构建时,它给出错误,这是错误,
\nyarn run v1.22.19\n$ next build\n \xe2\x9c\x93 Creating an optimized production build \n \xe2\x9c\x93 Compiled successfully\n \xe2\x9c\x93 Linting and checking validity of types \n \xe2\x9c\x93 Collecting page data \n Generating static pages (4/5) [== ] \nRangeError: Maximum call stack size exceeded\n at P (/home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:66159)\n at l (/home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:61350)\n at /home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:62551\n at Array.forEach (<anonymous>)\n at /home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:62524\n at Array.forEach (<anonymous>)\n at a (/home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:62344)\n at /home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:62608\n at Array.forEach (<anonymous>)\n at l (/home/abdullah/projects/next/fleet/fleet-frontend-2nd/.next/server/chunks/490.js:10:62301)\n\nError occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error\nRangeError: …Run Code Online (Sandbox Code Playgroud)