Skip to content

Breaks with @react-native-community/cli@2.0.0-rc.2 #38

@ifiokjr

Description

@ifiokjr

Expected results

The project should initialise properly.

Observed results

Can't be built because of the new template api documented here

Logs

image

✔ Downloading template
✖ Copying template
error Error: Cannot find module '/var/folders/78/49srzccj41jg4k660nnt6b8w0000gn/T/rncli-init-template-1UgDus/node_modules/react-native-template-typescript/template.config'

Steps to reproduce

  1. Install the latest version of the cli
yarn global add @react-native-community/cli@2.0.0-rc.2 
# Or 
npm i -g @react-native-community/cli@2.0.0-rc.2
  1. Create the app
react-native init YoYoYo --version react-native@next --template typescript
  1. Observe the failure

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions