vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.19k stars 1.81k forks source link

command not found: raw error #7061

Open anthonyshew opened 8 months ago

anthonyshew commented 8 months ago

Discussed in https://github.com/vercel/turbo/discussions/7060

Originally posted by **gimdongwon** January 21, 2024 I met this error. plz help me from this error I input this command `turbo gen workspace --copy` ![스크린샷 2024-01-22 10 48 25](https://github.com/vercel/turbo/assets/37524650/febdeead-ffb2-4fb0-91e3-d393e6a2c429)

TURBO-2130

tknickman commented 8 months ago

@gimdongwon could you please run this again with verbose logging enabled?

turbo gen workspace --copy -vvv

And share the results here. Thanks!

gimdongwon commented 8 months ago

Thx you for answer! @tknickman I entered the command as your instructions. 스크린샷 2024-01-23 08 31 21

tknickman commented 8 months ago

Thanks! Can you try this command as well and report back if this worked?

npx @turbo/gen@latest raw workspace --json "{}"
gimdongwon commented 8 months ago

@tknickman oh! it's working good. But i want to copy gen workspace copy. this command help just create new packages not copy. Why does this happen?

스크린샷 2024-01-31 14 41 15

tknickman commented 6 months ago

Hmm, this looks like an issue with the handoff from turbo to our gen package, in the meantime you can get around this by using npx @turbo/gen directly (check it out with npx @turbo/gen --help). It sounds like you want: npx @turbo/gen workspace --copy [source]