Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Turbo/codemod version 2.0.3 terminal cannot be copied #8446

Closed
1 task done
limuen opened this issue Jun 12, 2024 · 5 comments
Closed
1 task done

@Turbo/codemod version 2.0.3 terminal cannot be copied #8446

limuen opened this issue Jun 12, 2024 · 5 comments
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo

Comments

@limuen
Copy link

limuen commented Jun 12, 2024

Verify canary release

  • I verified that the issue exists in the latest Turborepo 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
WechatIMG79
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

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


monorepo-project@ dev /Users/limuen/Documents/github/monorepo-project
dotenv -e .env -e .env.development -- turbo dev "--filter" "react-low-code"

• Packages in scope: react-low-code
• Running dev in 1 packages
• Remote caching disabled
┌ @limuen/viteconfig#build > cache hit (outputs already on disk), replaying logs 0b5e44bcd9f5abd6

│ > @limuen/[email protected] build /Users/limuen/Documents/github/monorepo-project/packages/viteco
│ nfig
│ > tsup

│ CLI Building entry: src/vite.config.ts
│ CLI Using tsconfig: tsconfig.json
│ CLI tsup v8.0.2
│ CLI Using tsup config: /Users/limuen/Documents/github/monorepo-project/packages/viteconfig/tsup.
│ config.ts
│ CLI Target: esnext
│ ESM Build start
│ ESM dist/vite.config.js 1.61 KB
│ ESM ⚡️ Build success in 24ms
│ success
│ DTS Build start
│ DTS ⚡️ Build success in 1918ms
│ DTS dist/vite.config.d.ts 113.00 B
└────>
┌ react-low-code#dev > cache bypass, force executing bfbaf4ed4d2a2bb2

│ > [email protected] 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/
│ ➜ press h + enter to show help
└────>

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

@limuen limuen added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Jun 12, 2024
@anthonyshew
Copy link
Contributor

This appears to be a duplicate of #8372, if I'm understanding correctly.

If so, would you mind closing this issue and upvoting that one to express your interest?

@limuen
Copy link
Author

limuen commented Jun 12, 2024

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

│ > [email protected] 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

@limuen
Copy link
Author

limuen commented Jun 12, 2024

executing pnpm dev in the root directory also directly loads the terminal continuously
WechatIMG80
Is it because I configured something incorrectly? But in version 1.3. x, it's okay

@limuen
Copy link
Author

limuen commented Jun 12, 2024

executing pnpm dev in the root directory also directly loads the terminal continuously WechatIMG80 Is it because I configured something incorrectly? But in version 1.3. x, it's okay

WechatIMG81

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

@limuen
Copy link
Author

limuen commented Jun 12, 2024

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.

@limuen limuen closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

2 participants