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

Cannot read properties of undefined (reading 'i18n') #211

Closed
SHSSNN opened this issue Feb 29, 2024 · 2 comments
Closed

Cannot read properties of undefined (reading 'i18n') #211

SHSSNN opened this issue Feb 29, 2024 · 2 comments

Comments

@SHSSNN
Copy link

SHSSNN commented Feb 29, 2024

页面引入任何一个插件或者格式文件都报这个错误,
微信图片_20240229160626
微信图片_20240229155836
我使用的框架是vite+vue3+ts

@xiangyuecn
Copy link
Owner

已收到群里反馈,是因为类似 import Recorder from 'recorder-core' 但未引用Recorder导致的此import被优化干掉了,只需随便调用一下Recorder变量保证强引用即可

@SHSSNN SHSSNN closed this as completed Mar 6, 2024
@SHSSNN
Copy link
Author

SHSSNN commented Mar 6, 2024

多谢指导

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants