turbo icon indicating copy to clipboard operation
turbo copied to clipboard

command not found: raw error

Open anthonyshew opened this issue 1 year ago • 5 comments

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

TURBO-2130

anthonyshew avatar Jan 22 '24 06:01 anthonyshew

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

turbo gen workspace --copy -vvv

And share the results here. Thanks!

tknickman avatar Jan 22 '24 15:01 tknickman

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

gimdongwon avatar Jan 22 '24 23:01 gimdongwon

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

npx @turbo/gen@latest raw workspace --json "{}"

tknickman avatar Jan 25 '24 15:01 tknickman

@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

gimdongwon avatar Jan 31 '24 05:01 gimdongwon

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]

tknickman avatar Mar 21 '24 15:03 tknickman