下一个具有理智性的JS 13 - 类型错误:无法读取未定义的属性(读取"调用")



我需要帮助:

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_modulesnextdistcompiledreactcjsreact-jsx-dev-runtime.development.js (17:12)
eval
node_modulesnextdistcompiledreactcjsreact-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_modulesnextdistcompiledreactjsx-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_modulesnextdistclientapp-index.js (26:16)
eval
node_modulesnextdistcompiledreact-server-dom-webpackclient.js (106:0)

我在等工作室。

安装以下包,问题可能就解决了

npm i webpack

我今天也遇到了这个错误,并意识到我已经更新到最新版本的next。这似乎是下一个版本13.0.7的错误。

我通过降级到13.0.6修复了这个错误

npm i next@13.0.6

相关内容

  • 没有找到相关文章

最新更新