Skip to content

Error: Couldn't find the "/template.config.js file inside "react-native" template. #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MichaelHao25 opened this issue Oct 23, 2022 · 1 comment

Comments

@MichaelHao25
Copy link

Expected results

What did you expect to happen?

Observed results

What happened?

Logs

Please add the log output here.

Steps to reproduce

  1. npx react-native init AwesomeProject
  2. ✔ Downloading template
    ✖ Copying template
    error Error: Couldn't find the "/var/folders/h1/tnkpzj3d05l61qkgy3j3hqj80000gn/T/rncli-init-template-CbzDgj/node_modules/react-native/template.config.js file inside "react-native" template. Please make sure the template is valid. Read more: https://github.com/react-native-community/cli/blob/master/docs/init.md#creating-custom-template

yarn -v
3.2.3

npm -v
8.15.0

node -v
v16.17.1

@MichaelHao25
Copy link
Author

reinstall mac os finish,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant