DataV-Team / DataV-Vue3

WIP: DataV Vue3 + Vite + TypeScript
https://datav-vue3.jiaminghi.com/
MIT License
347 stars 44 forks source link

Failed to resolve entry for package "@dataview/datav-vue3". The package may have incorrect main/module/exports specified in its package.json. #40

Open chuyechuan opened 1 year ago

chuyechuan commented 1 year ago

添加完依赖后运行不起来; 解决方法:在"@dataview/datav-vue3"的package.json文件加入"type": "module";

prcseraph commented 1 year ago

问题依旧

yaotutu commented 1 year ago

问题依旧

liuly-6 commented 11 months ago

同样遇到这个问题

heweixiang commented 11 months ago

问题依然

GuoAccount commented 10 months ago

也是这个问题,离谱了

kangaoxioashi commented 10 months ago

import * as DataV from '@dataview/datav-vue3/es';

hutiantian04 commented 10 months ago

解决了吗,我也遇到这样问题,求解

ifxj commented 10 months ago

aiaiaiai

YYDarling commented 9 months ago

import * as DataV from '@dataview/datav-vue3/es'; 还是报错 '/node_modules/.vite/deps/@dataview_datav-vue3_es.js?v=c9c3d6c3' does not provide an export named 'default'

xiaoxiaohuayu commented 9 months ago

import { BorderBox8 } from "@dataview/datav-vue3/es/components/border-box-8";

lozn00 commented 8 months ago

服了啊,这个老6 ,怎么都搞出这样的bug

aboutZZ commented 8 months ago

import { BorderBox8 } from "@dataview/datav-vue3/es/components/border-box-8";

这样子引入BorderBox8后,从此页面跳转其他页面时,报错TypeError: n is null,去掉该组件后可正常跳转页面。 看了报错信息应该是unmount组件的时候挂了。作者真就不修呗

hong3731 commented 2 months ago

服了啊,这个老6 ,怎么都搞出这样的bug

不准备修这个bug了吗??