form-create-designer
form-create-designer copied to clipboard
启动报错
已经在main里面引入 并且安装了包 import formCreate from '@form-create/element-ui' import FcDesigner from '@form-create/designer' app.use(formCreate) app.use(FcDesigner)
[ERROR] Could not resolve "element-plus"
node_modules/.pnpm/@[email protected][email protected]/node_modules/@form-create/designer/dist/index.es.js:12:32:
12 │ import { ElMessage as Sh } from "element-plus";
╵ ~~~~~~~~~~~~~~
You can mark the path "element-plus" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
/Users/akiraka/Documents/QuarkArcoPro/node_modules/.pnpm/[email protected]/node_modules/esbuild/lib/main.js:1472 let error = new Error(text); ^
Error: Build failed with 1 error: node_modules/.pnpm/@[email protected][email protected]/node_modules/@form-create/designer/dist/index.es.js:12:32: ERROR: Could not resolve "element-plus"