Closed burakkbilginn closed 2 weeks ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
Same error
@burakkbilginn @redskull-git Did you try clearing the .gradle cache and rebuilding again
@burakkbilginn @redskull-git Did you try clearing the .gradle cache and rebuilding again
Switching Gradle versions didn't help, and neither did the node_modules or .gradle directories.
I created a project on React Native 0.75.2. The Android version runs fine in VS Code, but when I try to run iOS, it only builds without launching. However, it works properly when run through Xcode. Has anyone else faced this issue?
@burakkbilginn @redskull-git Did you try clearing the .gradle cache and rebuilding again
It doesn't work. I tried another computer, it works probably.
✖ Copying template error Error: Couldn't find the "/var/folders/nc/z2lrr5v566zc7znqwzzwtvy80000gn/T/rncli-init-template-ME19un/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. Error: Error: Couldn't find the "/var/folders/nc/z2lrr5v566zc7znqwzzwtvy80000gn/T/rncli-init-template-ME19un/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 why ? with new version 0.75
Hi all, thanks for trying the new version of React Native.
As of today, it should be possible to create a new app doing:
npx react-native@latest init <YourAppName> --version latest
or
npx @react-natve-community/cli@latest init <YourAppName> --version latest
Could yo please try these commands out and report whether they are working or not?
If they are not working can you try to run
npx react-native@0.74.5 init <YourAppName> --version 0.74.5
To see if you are able to create a new React Native app using the older version?
eact-native
There error is because the CLI is trying to install the template from react-native
instead of @react-native-community/template
. Follow @cipolleschi's guide for the correct CLI commands.
I think this discussion needs to move to https://github.com/react-native-community/cli/issues
Same Error
Description
I am trying to create a react-native app with latest version (0.75.2), but it gives error.
Steps to reproduce
I created the project with npx @react-native-community/cli init newapp. Then I start the project with yarn start command. Then when I type yarn android, it downloads gradle 8.8 as written in gradle properties (distributionUrl=https://services.gradle.org/distributions/gradle-8.8-all.zip). Then the ERROR comes.
React Native Version
0.75.2
Affected Platforms
Runtime - Android, Build - Windows
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://the_app_is_too_big_to_make_snack
Screenshots and Videos
No response