alibaba / alibaba/lowcode-engine
code-generator如何进行打包
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
windows环境使用npm run build命令对code-generator部分进行打包,其中只生成一部分js,其他js打包失败,应该如何处理
[build:types] 'sh' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[build:types] �����������
[build:standalone] building...
[build:types] sh scripts/build-types exited with code 1
--> Sending SIGTERM to other processes..
[build:standalone-worker] building...
[build:standalone-loader] build standalone-loader: packageVersion=1.1.6
[build:standalone-loader] building cjs...
[build:standalone-loader] done
[build:cli] building...
[build:cjs] building cjs...
[build:esm] building esm...
[build:standalone-loader] node scripts/build-standalone-loader exited with code 0
[build:cjs] built cjs in 1.81s
[build:cli] done
[build:cjs] node scripts/build --format=cjs --out=lib exited with code 0
[build:cli] node scripts/build-cli exited with code 0
[build:standalone] node scripts/build-standalone exited with code 1
--> Sending SIGTERM to other processes..
[build:standalone-worker] node scripts/build-standalone-worker exited with code 1
--> Sending SIGTERM to other processes..
[build:esm] node scripts/build --format=esm --out=es exited with code 1
这个是打包后生成的文件目录,感觉缺少很多文件
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the `npm run build` entry point and the `scripts/build-types` command shown in the output. Check why Windows cannot run `sh`, then verify the build completes for the types, standalone, worker, CLI, CJS, and ESM targets and produces the expected files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, shell, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100