flowgram.ai
flowgram.ai copied to clipboard
[Question] @flowgram.ai/ts-config" did not define any work.
🙋 SDK Version
flowgram.ai v0.1.28
📌 Layout
💻 Environment
- Operation System: Linux
- Node.js: v18.20.8
- Other:
📝 Question Description
run
$ rush build:watch --to-except @flowgram.ai/demo-free-layout
error:
[watch] Executing a maximum of 16 simultaneous processes...
[watch]
[watch] ==[ @flowgram.ai/ts-config ]======================================[ 1 of 41 ]==
[watch] "@flowgram.ai/ts-config" did not define any work.
[watch]
[watch] ==[ @flowgram.ai/eslint-config ]==================================[ 2 of 41 ]==
[watch] "@flowgram.ai/eslint-config" did not define any work.
...
先执行下,rush update 和 rush build 看看有没有报错,如果你要调试自由布局,之后执行 rush dev:demo-free-layout
- 运行 rush update
$ rush update
>>>
...
Done in 56.4s
Rush update finished successfully. (56.68 seconds)
- 运行 rush build
$ rush build
>>>
...
Executing a maximum of 16 simultaneous processes...
==[ @flowgram.ai/ts-config ]======================================[ 1 of 56 ]==
"@flowgram.ai/ts-config" completed successfully in 0.01 seconds.
==[ @flowgram.ai/create-app ]=====================================[ 2 of 56 ]==
"@flowgram.ai/create-app" completed successfully in 1.11 seconds.
==[ @flowgram.ai/eslint-config ]==================================[ 3 of 56 ]==
"@flowgram.ai/eslint-config" completed successfully in 1.16 seconds.
...
==[ SUCCESS: 56 operations ]===================================================
These operations completed successfully:
@flowgram.ai/background-plugin 1.31 seconds
@flowgram.ai/core 2.43 seconds
@flowgram.ai/command 1.39 seconds
@flowgram.ai/utils 1.56 seconds
@flowgram.ai/eslint-config 1.16 seconds
@flowgram.ai/ts-config 0.01 seconds
...
rush build (30.35 seconds)
- 运行 rush dev:demo-free-layout
$ rush dev:demo-free-layout
>>>
....
[watch] ==[ @flowgram.ai/ts-config ]======================================[ 1 of 41 ]==
[watch] "@flowgram.ai/ts-config" did not define any work.
[watch]
[watch] ==[ @flowgram.ai/eslint-config ]==================================[ 2 of 41 ]==
[watch] "@flowgram.ai/eslint-config" did not define any work.
...
[watch] ==[ NO OP: 2 operations ]======================================================
[watch]
[watch] These operations did not define any work:
[watch] @flowgram.ai/eslint-config
[watch] @flowgram.ai/ts-config
...
[watch] rush build:watch (23.36 seconds)
[watch] Cannot watch for changes if the Rush repo is not in a Git repository, exiting.
[watch] rush build:watch --to-except @flowgram.ai/demo-free-layout exited with code 1
--> Sending SIGTERM to other processes..
[demo] cd apps/demo-free-layout && rushx dev exited with code SIGTERM
The script failed with exit code 1
前面两步都没问题,第三步就不行了
@km1994 你是在我们的仓库代码中运行的吗,还是 copy 代码到了自己的仓库?
rush 版本是多少,我这边是 Rush Multi-Project Build Tool 5.140.1 - https://rushjs.io Node.js version is 18.20.7 (LTS)
试一试加一个这个是不是好的