react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Not able to start example app

Open sahilverma-dev opened this issue 1 year ago β€’ 4 comments

Description

I am not able to start example project.

Packages

  • [x] create-react-native-library
  • [ ] react-native-builder-bob

Selected options

Kotlin and Objective C

Link to repro

https://github.com/sahilverma-dev/react-native-wallpaper-module

Environment

System:
  OS: macOS 15.2
  CPU: (8) arm64 Apple M3
  Memory: 154.38 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.12.0
    path: ~/.nvm/versions/node/v22.12.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v22.12.0/bin/yarn
  npm:
    version: 10.9.0
    path: ~/.nvm/versions/node/v22.12.0/bin/npm
  Watchman:
    version: 2024.11.04.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK:
    API Levels:
      - "31"
      - "34"
      - "35"
    Build Tools:
      - 30.0.3
      - 33.0.1
      - 34.0.0
      - 35.0.0
    System Images:
      - android-35 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.74.2
    wanted: 0.74.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.76.5 is now available (your project is running on v0.74.2).

sahilverma-dev avatar Dec 24 '24 17:12 sahilverma-dev

Screenshots Image Image

sahilverma-dev avatar Dec 24 '24 17:12 sahilverma-dev

Hey could you make the repro link you've provided public or create another one? https://github.com/sahilverma-dev/react-native-wallpaper-module Currently I'm not able to see it

atlj avatar Dec 27 '24 12:12 atlj

Hey could you make the repro link you've provided public or create another one? https://github.com/sahilverma-dev/react-native-wallpaper-module Currently I'm not able to see it

I am really sorry for this, I wasn't aware that it’s now public. It’s currently just a blank project, but I’m ready to start working on it now.

sahilverma-dev avatar Dec 28 '24 12:12 sahilverma-dev

For more context this is my npx react-native doctor output on root

npx react-native doctor
β ‹ Running diagnostics...(node:63376) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
β Έ Running diagnostics...warn Command failed with exit code 1: ruby -e require "Bundler"; gemfile = Bundler::Definition.build("Gemfile", nil, {}); version = gemfile.ruby_version.engine_versions.join(", "); begin; gemfile.validate_runtime!; rescue Bundler::GemfileNotFound; puts "No Gemfile"; exit 1; rescue Bundler::RubyVersionMismatch; puts "Bundle invalid Ruby"; STDERR.puts version; exit 2; rescue => e; STDERR e.message; exit 3; else; puts "Ok"; STDERR.puts version; end
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/bundler/definition.rb:32:in `build': /Users/sahilverma/Desktop/Sahil Verma/Coding Projects/Personal/React Native/Package/react-native-wallpaper-module/Gemfile not found (Bundler::GemfileNotFound)
	from -e:1:in `<main>'
Common
 βœ“ Node.js - Required to execute JavaScript code
 βœ“ yarn - Required to install NPM dependencies
 βœ“ Watchman - Used for watching changes in the filesystem when in development mode
 ● Metro - Metro Bundler is not running

Android
 βœ“ Adb - Required to verify if the android device is attached correctly
 βœ“ JDK - Required to compile Java code
 βœ“ Android Studio - Required for building and installing your app on Android
 βœ“ ANDROID_HOME - Environment variable that points to your Android SDK installation
 βœ– Gradlew - Build tool required for Android builds
 βœ– Android SDK - Required for building and installing your app on Android
   - Versions found: 30.0.3, 33.0.1, 34.0.0, 35.0.0
   - Version supported: Not Found

iOS
 βœ“ Xcode - Required for building and installing your app on iOS
 βœ“ Ruby
 βœ“ CocoaPods - Required for installing iOS dependencies
 βœ“ ios-deploy - Required for installing your app on a physical device with the CLI
 βœ“ .xcode.env - File to customize Xcode environment

Errors:   2
Warnings: 1

Usage
 β€Ί Press f to try to fix issues.
 β€Ί Press e to try to fix errors.
 β€Ί Press w to try to fix warnings.
 β€Ί Press Enter to exit.

sahilverma-dev avatar Dec 29 '24 21:12 sahilverma-dev