Open
Description
I posted the question in the discussion. It's not clear if this is a bug or if I'm just doing it incorrect.
#11704
Describe the bug
I clone the create-react-app repo and ran the following commends:
npx create-react-app tester4 --scripts-version file:./create-react-app/packages/react-scripts --template file:./create-react-app/packages/cra-template-typescript
....
cd tester4
yarn start
yarn run v1.22.17
$ react-scripts start
**When you use this plugin you must install `typescript`.**
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I would expect it to work similar to when you just call npx create-react-app tester4 --typescript
, but it's not.
Questions
- isn't
npx create-react-app tester4 --typescript
the same asnpx create-react-app tester4 --scripts-version file:./create-react-app/packages/react-scripts --template file:./create-react-app/packages/cra-template-typescript
- When you see the message
When you use this plugin you must install
typescript`` what are you suppose to do. Do you just install typescript in the custom --script-version. Like in this case, isn't-scripts-version file:./create-react-app/packages/react-scripts
the default anyways?
Thanks,
Derek