-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 report] Could not resolve "./bpmn-elements-adapter" from "./bpmn-elements-adapter?commonjs-external" #1296
Comments
该 issue 作为 Bug Report 所提供信息的不充分,被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。 |
1.2.10? |
@wumail 是的,昨天是1.2.10,刚刚卸载过后安装了最新的版本, "@logicflow/core": "^1.2.12", |
找到临时解决办法了。import { Group } from '@logicflow/extension/es/materials/group';import { MiniMap } from '@logicflow/extension/es/components/mini-map';找到准确的路径这样引入就可以了 |
问题描述
请用简洁的语言描述你遇到的 bug,至少包括以下部分,如提供截图请尽量完整:
主体框架使用的nuxt3.0,打包方式用的vite,在npm run build的时候提示Could not resolve "./bpmn-elements-adapter" from "./bpmn-elements-adapter?commonjs-external" ,extension/es下面的文件基本上都会提示找不到
最简复现
猜测原因是不支持vite,commonjs,现在不知道怎么解决,dev环境是正常的,打包编译就出错了
相关信息 context
LogicFlow Version:1.2.10
Node Version:19
Platform:
The text was updated successfully, but these errors were encountered: