Closed limuen closed 1 month ago
This appears to be a duplicate of https://github.com/vercel/turbo/issues/8372, if I'm understanding correctly.
If so, would you mind closing this issue and upvoting that one to express your interest?
Not only is it impossible to copy, but I execute the command pnpm dev -- filter react low code. Normally, after running the build package, I will run apps/react low code, and the terminal should appear ┌ react-low-code#dev > cache bypass, force executing bfbaf4ed4d2a2bb2 │ │ > react-low-code@0.0.0 dev /Users/limuen/Documents/github/monorepo-project/apps/react-low-code │ > vite │ │ │ │ │ VITE v5.2.11 ready in 639 ms │ │ ➜ Local: http://localhost:5173/ │ ➜ Network: http://172.16.99.74:5173/
But now I can't see what I want, I have to end the terminal to see this output
executing pnpm dev in the root directory also directly loads the terminal continuously
Is it because I configured something incorrectly? But in version 1.3. x, it's okay
executing pnpm dev in the root directory also directly loads the terminal continuously
Is it because I configured something incorrectly? But in version 1.3. x, it's okay
CTRL+C ends and the terminal comes out again, but the service has already been stopped this confusion has been bothering me since I upgraded to 2. Can you help me? thank you
Oh my god, I just saw that using arrows to select projects would only appear. I always thought it would appear in the first one and you can simply scroll down to see it.
Verify canary release
Link to code that reproduces this issue
https://github.com/limuen/monorepo-project
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
devDependencies: turbo 2.0.3
Describe the Bug
run: pnpm dev --filter react-low-code
And then I kept getting stuck here, trying to input in the browser http://localhost:5173 But I found that it could be opened, but the terminal was stuck there and couldn't copy any information。
I had to use Ctrl+C to terminate the current program, but the console printed me the information and port for starting the project.
![WechatIMG78](https://github.com/vercel/turbo/assets/31790606/1e1c3ddc-049b-40f4-ad0f-f12b6106055d)
Expected Behavior
My normal behavior should be running my pnpm dev -- filter react low code, then executing the build command for packages/viteconfig, and then running my apps/react low code pnpm dev --filter react-low-code
To Reproduce
{ "$schema": "https://turbo.build/schema.json", "globalDependencies": [".env"], "ui": "tui", "tasks": { "defaultProject#dev": { "dependsOn": ["@limuen/viteconfig#build"], "cache": false, "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env.development.local", ".env.development", ".env.local", ".env"] }, "defaultProject#build": { "dependsOn": ["@limuen/viteconfig#build"], "outputs": ["dist/"], "inputs": ["$TURBO_DEFAULT$", ".env.development.local", ".env.development", ".env.local", ".env"] }, "react-low-code#dev": { "dependsOn": ["@limuen/viteconfig#build"], "cache": false, "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env.development.local", ".env.development", ".env.local", ".env"] }, "react-low-code#build": { "dependsOn": ["@limuen/viteconfig#build"], "outputs": ["dist/"], "inputs": ["$TURBO_DEFAULT$", ".env.development.local", ".env.development", ".env.local", ".env"] }, "dev:weapp": { "dependsOn": ["^dev:weapp"], "persistent": true, "cache": false }, "dev:alipay": { "dependsOn": ["^dev:alipay"], "persistent": true, "cache": false }, "build:alipay": { "dependsOn": ["^build:alipay"], "outputs": [] }, "dev:tt": { "dependsOn": ["^dev:tt"], "persistent": true, "cache": false }, "build:tt": { "dependsOn": ["^build:tt"], "outputs": [] }, "dev": { "cache": false, "persistent": true, "inputs": ["$TURBO_DEFAULT$", ".env.development.local", ".env.development", ".env.local", ".env"] }, "build": { "dependsOn": ["^build"], "outputs": ["dist/"], "inputs": ["$TURBO_DEFAULT$", ".env.production.local", ".env.production", ".env.local", ".env"] }, "test": { "dependsOn": ["^test"], "outputs": ["dist/"], "inputs": ["$TURBO_DEFAULT$", ".env.test.local", ".env.test", ".env.local", ".env"] }, "lint": { "dependsOn": [] } } }
Additional context
It is normal in version 1.3. x, but the above issues occur when upgrading to version 2. x