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

vite4.0 报错,涉及es。 #25

Open
ijry opened this issue Jan 27, 2023 · 2 comments
Open

vite4.0 报错,涉及es。 #25

ijry opened this issue Jan 27, 2023 · 2 comments

Comments

@ijry
Copy link

ijry commented Jan 27, 2023

ERROR 12:27:46 AM [vite] Internal server error: Failed to resolve entry for package "@dataview/datav-vue3". The package may have incorrect main/module/exports specified in its package.json

改成import DataV from '@dataview/datav-vue3/es';后报另一个错:
The requested module '/node_modules/.vite/deps/@dataview_datav-vue3_es.js?v=baca4c47' does not provide an export named 'default

@YangCY1995
Copy link

vite2.9也遇到了这个问题QAQ

@Soya-xy Soya-xy mentioned this issue Feb 4, 2023
10 tasks
@daidaihk
Copy link

可以看看这个:http://t.csdn.cn/EuX68

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

Successfully merging a pull request may close this issue.

3 participants