tobias-tengler / create-relay-app

Relay setup automation for CRA, Next.js and Vite
MIT License
78 stars 2 forks source link

-I/--interactive does not work #14

Closed seanaguinaga closed 1 year ago

seanaguinaga commented 1 year ago

I want to enable subscriptions but -I/--interactive does not work

seanaguinaga commented 1 year ago

With npm create

yarn create works fine

tobias-tengler commented 1 year ago

"Does not work" means nothing happens or you get an error? Could you provide some more information, like the type of project you're using and the output of the command?

seanaguinaga commented 1 year ago

A fresh TypeScript CRA Template - it ignores the --interactive flag and proceeds without stopping for input

tobias-tengler commented 1 year ago

Interesting. npm create requires you to pass -- before specifying the command arguments:

npm create @tobiastengler/relay-app -- --interactive

I wasn't aware of this either. I'll update the documentation. Thanks for the find :)

tobias-tengler commented 1 year ago

I added a quick reminder here.

seanaguinaga commented 1 year ago

Wow I never would've guessed that's all it took to fix it

Thank you