You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
第一个错误: Duplicate __self prop found. You are most likely using the deprecated transform-react-jsx-self Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.
What is the current behavior? 发生了什么?
ice2.x切换到vite模式无法启动,相关报错如下:
第一个错误:
Duplicate __self prop found. You are most likely using the deprecated transform-react-jsx-self Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.
查找各种相关社区解决方案,仍然无法生效,如:vite官方解决方案:vitejs/vite#9387
第二个错误:
无法识别装饰器语法;
[ERROR] Unexpected "@"
查找各种相关社区解决方案,仍然无法生效,如:
请问该如何修复相关问题?
What is the expected behavior? 期望的结果是什么?
Any additional comments? 相关环境信息?
The text was updated successfully, but these errors were encountered: