Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.37.1更新后出现element-plus的template里的标签全部报这个错误 #1408

Closed
CreatorAnd opened this issue Jun 7, 2022 · 10 comments
Labels
duplicate This issue or pull request already exists

Comments

@CreatorAnd
Copy link

JSX 元素类型“ElFormItem”不具有任何构造签名或调用签名

@linzhenjie
Copy link

同样出现问题,自定义组件都报错了。
image

@tiny-dust
Copy link

我也遇到了

@leo-own
Copy link

leo-own commented Jun 7, 2022

加一,突然就不可以了

@leo-own
Copy link

leo-own commented Jun 7, 2022

不过我看更新时间是11点半,但我上午就不可以了,就报这个错了

@Nauxscript
Copy link

回退到 0.35.0 后好像正常了

@leo-own
Copy link

leo-own commented Jun 7, 2022

我回退到0.36.1也可以了

@Nauxscript
Copy link

image

然后选择旧版本

image

@RosyClousXun
Copy link

今天没更新之前,执行 vue-tsc --noEmit,会报这样的错:

Please update to v0.35.0 or higher for TypeScript version: 4.7.3
src/main.ts:13:9 - error TS2345: Argument of type 'Router' is not assignable to parameter of type 'Plugin_2'.
  Type 'Router' is not assignable to type '{ install: PluginInstallFunction; }'.
    Types of property 'install' are incompatible.
      Type '(app: App) => void' is not assignable to type 'PluginInstallFunction'.
        Types of parameters 'app' and 'app' are incompatible.
          Type 'App<any>' has no properties in common with type 'App'.

13 app.use(router);

更新到最新后,不仅element-plus,JSX 元素类型“ElFormItem”不具有任何构造签名或调用签名这种错,上面的错继续报,
大神求解啊,折腾了一下午了还没解决

@johnsoncodehk
Copy link
Member

Duplicate of #1405

@johnsoncodehk johnsoncodehk marked this as a duplicate of #1405 Jun 7, 2022
@johnsoncodehk johnsoncodehk added the duplicate This issue or pull request already exists label Jun 7, 2022
@Jiangzqts
Copy link

这以后插件不能随便更新呀,折腾一晚上了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

8 participants