lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

pnpm dev error and regenerator-runtime/runtime

Open UltramanWeiLai opened this issue 1 year ago • 1 comments

Describe the bug (required) / 详细描述 bug(必填)

 ERROR  Failed to compile with 2 errors                                                                                                                                                            18:29:30

This dependency was not found:

* regenerator-runtime/runtime in ./src/index.ts, ./src/preview.tsx

To install it, you can run: npm install --save regenerator-runtime/runtime

To Reproduce (required) / 如何复现 bug?(必填,非常重要)

npm init @alilc/element editor-project-name pnpm i pnpm dev

image

UltramanWeiLai avatar Mar 16 '23 10:03 UltramanWeiLai

试试npm或yarn

beautiful-boyyy avatar Mar 16 '23 11:03 beautiful-boyyy

这启动的是什么项目?

eternalsky avatar Mar 23 '23 01:03 eternalsky

你好 @UltramanWeiLai,由于缺乏必要的信息(如 bug 重现步骤、引擎版本信息 等),无法定位问题,请按照 issue bug 模板 补全信息,也可以通过阅读 引擎的 issue 说明 了解什么类型的 issue 可以获得更好、更快的支持。

github-actions[bot] avatar Mar 23 '23 01:03 github-actions[bot]