nuxt请求错误用作弱映射键的值无效

问题描述 投票:0回答:2

enter image description here

我在尝试运行时遇到此错误:npm run dev 虽然这个错误,应用程序在本地运行良好,但在生产过程中,我遇到了以下错误

enter image description here

请大家帮忙! :)

vue.js deployment nuxt.js http-status-code-500 nuxtjs3
2个回答
2
投票

嗯,我发现我自己写的是“dir”而不是“div”,当我更正它时,一切正常:p


1
投票

当您引用的组件未注册时,会发生此错误,请参阅https://github.com/nuxt/framework/discussions/4588https://github.com/nuxt/framework/issues/227 .

© www.soinside.com 2019 - 2024. All rights reserved.