-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Build failed with an exception rn@0.71.0-rc.2 #35472
Comments
Thanks for testign our latest RC @s-jain-cognam |
warn Package react-native-ui-lib contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "react-native config" co FAILURE: Build failed with an exception.
BUILD FAILED in 12s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. FAILURE: Build failed with an exception.
BUILD FAILED in 12s
nAllDevices.js:109:5) |
It seems like you're not on a new project right? |
First i tried upgrading my own project (which logs are in upper comment) so that library comes from there and after on diffrent same os windows based system i initialized a new app with this same rc and got the same issue. There are the new App Log
|
@kelset This needs attention for .71. @mganandraj if you could also take a look at what's going on for Windows would be great 👍 |
The issue is that the file:\ uri scheme supports only forward slashes. @shivenmian was working on a fix. |
Yes, I'm working on a fix. You can assign this (and other related issues like #34878) to me. |
@s-jain-cognam RC3 has just been released which should fix the path issue. @shivenmian can you cross check and let me know if we need further Windows fix to be included in RC4? |
Yes thanks. |
@cortinico yep, I had tested RC3 last week and things work fine for me too, so your PR is good. I had a look at the actual fix you made in |
Hi, I'm receiving this issue after having upgraded to 0.71.11 from 0.70.5. I wasn't able to find the fix from RC3 that should have fixed this to debug further, could someone point me in the right direction? Thanks :) My build log:
Info:
|
For anyone else finding this: turns out I had listed react-native-gradle-plugin seperately in my package.json with a different version (0.72), removed it, package-lock and node_modules and re-installed and its working now :) |
Description
FAILURE: Build failed with an exception.
A problem occurred configuring project ':app'.
Version
0.71.0-rc.2
Output of
npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.19045
CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
Memory: 5.23 GB / 15.75 GB
Binaries:
Node: 14.16.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.7199119
Visual Studio: Not Found
Languages:
Java: 17.0.5 - C:\Users\Sawai\Documents\jdk-17.0.5\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.0-rc.2 => 0.71.0-rc.2
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Create a new react native project with 0.71.0-rc.2 version or upgrade to the existing.
Snack, code example, screenshot, or link to a repository
I have tried in multile windows system.
The text was updated successfully, but these errors were encountered: