
报错异常
前端的一些报错异常解决方案
Wait.End
热爱前端开发的工程师
展开
-
npm ERR! dev @typescript-eslint/parser@“6.0.0-alpha“ from the root project
这个问题是由于尝试安装的 @typescript-eslint/eslint-plugin 包需要一个名为 @typescript-eslint/parser 的包作为同伴(peer)依赖项,并且该同伴依赖项的版本应为 "6.0.0" 或 "6.0.0-alpha"。但是,可能由于某种原因,这个同伴依赖项没有被正确安装或者版本不兼容。我们可以先安装@typescript-eslint/parser@^6.0.0。安装完成以后再去安装其他依赖即可。原创 2023-11-29 20:18:14 · 1259 阅读 · 0 评论 -
TS2604: JSX element type ‘ProForm‘ does not have any construct or call signatures.
请确保导入路径是正确的,并且与你的项目结构和ProForm组件的文件路径对应。比如编辑器自动帮我引入的时候是这样子的,因为引入错误,所以导致无法正常运行。这个错误是由于在你的代码中,引用ProForm组件的时候引用错了。因此,编译器无法找到该组件的构造函数或调用签名导致错误的发生。原创 2023-08-02 10:50:05 · 613 阅读 · 0 评论 -
[vite] Internal server error: Codegen node is missing for element/if/for node. Apply appropriate tra
[vite] Internal server error: Codegen node is missing for element/if/for node. Apply appropriate transforms first.原创 2023-06-15 15:25:15 · 11906 阅读 · 2 评论