-
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
npx react-native run-anroid fails with error autolinkLibrariesFromCommand #47154
Comments
|
|
|
|
Can you run |
@cortinico this is what I am getting
|
Ok then we would need a full reproducer to help further |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
Description
New project created using
npx react-native init Myapp
. I wanted a javascript template so changed the App.tsx to App.js , installed the nodemodules I wanted usingnpm i
command with 0 vulnerabilities. Upon runningnpx react-native run-android
:The error I encounter :
package.json :
Settings.gradle file :
Steps to reproduce
npx react-native init yourApp
convert App.tsx to App.js with js code.
install node modules from package.json or with these commands :
npm install @react-native-async-storage/async-storage @react-native-community/netinfo axios body-parser date-fns jwt-decode lottie-react-native moment react react-native react-native-calendars react-native-chart-kit react-native-compressor react-native-device-info react-native-document-picker react-native-fs react-native-gifted-chat react-native-htmlview react-native-http-bridge-refurbished react-native-image-base64 react-native-image-crop-picker react-native-image-picker react-native-keep-awake react-native-network-info react-native-paper react-native-permissions react-native-popup-menu react-native-safe-area-context react-native-share react-native-sqlite-storage react-native-svg react-native-swiper-flatlist react-native-vector-icons react-native-video react-native-view-shot wizpeerTourGuideFe --save
andnpm install @babel/core @babel/preset-env @babel/runtime @react-native/babel-preset @react-native/eslint-config @react-native/metro-config babel-jest eslint jest prettier react-test-renderer --save-dev
run
npx react-native start
and then
npx react-native run-android
React Native Version
0.75.4
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
create using above commands and install the packages and run.
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: