具有健全性的NextJS 13-类型错误:无法读取未定义的属性(阅读“call”)

ctrmrzij  于 2022-12-18  发布在  其他
关注(0)|答案(2)|浏览(144)

我需要你帮忙:

Call Stack
options.factory
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/webpack.js (722:31)
__webpack_require__
/_next/static/chunks/webpack.js (37:33)
fn
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/webpack.js (377:21)
eval
node_modules\next\dist\compiled\react\cjs\react-jsx-dev-runtime.development.js (17:12)
eval
node_modules\next\dist\compiled\react\cjs\react-jsx-dev-runtime.development.js (1328:3)
./node_modules/next/dist/compiled/react/cjs/react-jsx-dev-runtime.development.js
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/app/studio/[[...index]]/page.js (5098:1)
options.factory
/_next/static/chunks/webpack.js (722:31)
__webpack_require__
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (377:21)
eval
node_modules\next\dist\compiled\react\jsx-dev-runtime.js (6:2)
./node_modules/next/dist/compiled/react/jsx-dev-runtime.js
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/app/studio/[[...index]]/page.js (5120:1)
options.factory
/_next/static/chunks/webpack.js (722:31)
__webpack_require__
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (377:21)
eval
webpack-internal:///./app/studio/[[...index]]/page.tsx (5:79)
./app/studio/[[...index]]/page.tsx
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/app/studio/[[...index]]/page.js (5001:1)
options.factory
/_next/static/chunks/webpack.js (722:31)
__webpack_require__
file:///C:/Users/tirfa/Projects/nluz-blog/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (377:21)
__webpack_require__
node_modules\next\dist\client\app-index.js (26:16)
eval
node_modules\next\dist\compiled\react-server-dom-webpack\client.js (106:0)

我以为是录音室。但还是发生了。

goqiplq2

goqiplq21#

安装以下软件包,问题可能会得到解决
npm i webpack

klsxnrf1

klsxnrf12#

我今天也遇到了这个错误,意识到我已经更新到了next的最新版本。这似乎是next版本13. 0. 7中的一个错误。
我通过降级回13.0.6修复了此错误

npm i next@13.0.6

相关问题