alibaba / alibaba/lowcode-engine

点击出码报错DependencyNotFoundError: Could not find dependency: '@alifd/pro-layout' relative to '/src/index.js'

Open
#2,979 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

安装lowcode编辑器以后,运行npm start 点击右上角的出码功能报错。

---
复现步骤:
1、npm install -g @alilc/create-element@latest
2、npm init @alilc/element editor-project-name
3、cd editor-project-name
4、npm install --force
5、 npm start
6、打开地址 点击右上角出码

帮忙看下具体原因

---
![image](https://github.com/alibaba/lowcode-engine/assets/54732897/6e5b3daa-392c-4e5d-a28d-36f659ebafc9)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the listed create-element, npm install, and npm start steps, then click the editor's code-generation control. Start by checking /src/index.js and the dependency-resolution path for the missing @alifd/pro-layout package; done means code generation no longer reports DependencyNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.