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

[Bug]: 升级报错import_plugin_i18n.I18n is not a constructor #6550

Closed
lhx15 opened this issue Nov 20, 2024 · 2 comments
Closed

[Bug]: 升级报错import_plugin_i18n.I18n is not a constructor #6550

lhx15 opened this issue Nov 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lhx15
Copy link

lhx15 commented Nov 20, 2024

版本信息

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700
    Memory: 3.51 GB / 15.69 GB
  Browsers:
    Edge: Chromium (127.0.2651.86)

问题详情

Image
npm run upgrade

[email protected] upgrade
modern upgrade

Modern.js Framework v2.59.0

🚶 Load Generator...[ERROR] run task error: TypeError: import_plugin_i18n.I18n is not a constructor

复现链接

复现步骤

v2.59.0 执行npm run upgrade

@lhx15 lhx15 added the bug Something isn't working label Nov 20, 2024
@caohuilin
Copy link
Member

执行一下 npx @modern-js/upgrade@latest 升级一下吧

@caohuilin caohuilin self-assigned this Nov 20, 2024
@caohuilin
Copy link
Member

#6551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants