moaazsidat / react-native-qrcode-scanner

A QR code scanner component for React Native.
MIT License
2.04k stars 516 forks source link

react-native link doesn't return any output #187

Open lapsio opened 5 years ago

lapsio commented 5 years ago

When I'm trying to link react-native-qrcode-scanner nothing happens

What's happening?

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> yarn add react-native-camera
yarn add v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-native-qrcode-scanner@1.2.1" has incorrect peer dependency "react-native-camera@^1.0.2".
[4/4] Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
└─ react-native-camera@2.9.0
info All dependencies
└─ react-native-camera@2.9.0
Done in 3.49s.

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> yarn add react-native-permissions
yarn add v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-native-qrcode-scanner@1.2.1" has incorrect peer dependency "react-native-camera@^1.0.2".
[4/4] Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
└─ react-native-permissions@1.1.1
info All dependencies
└─ react-native-permissions@1.1.1
Done in 3.43s.

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> yarn add react-native-qrcode-scanner
yarn add v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > react-native-qrcode-scanner@1.2.1" has incorrect peer dependency "react-native-camera@^1.0.2".
[4/4] Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
└─ react-native-qrcode-scanner@1.2.1
info All dependencies
└─ react-native-qrcode-scanner@1.2.1
Done in 3.41s.

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> react-native --verbose link react-native-camera
debug Available platforms: iOS, Android
debug Targeted platforms: iOS, Android
debug Getting project config for iOS...
debug Getting project config for Android...
debug Package to link: react-native-camera
info iOS module "react-native-camera" is already linked
info Android module "react-native-camera" is already linked

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> react-native --verbose link react-native-permissions
debug Available platforms: iOS, Android
debug Targeted platforms: iOS, Android
debug Getting project config for iOS...
debug Getting project config for Android...
debug Package to link: react-native-permissions
info iOS module "react-native-permissions" is already linked

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> react-native --verbose link react-native-qrcode-scanner
debug Available platforms: iOS, Android
debug Targeted platforms: iOS, Android
debug Getting project config for iOS...
debug Getting project config for Android...
debug Package to link: react-native-qrcode-scanner

lapsio@linux-6o92 ~/D/P/P/W/h/hiveipam> react-native --verbose link react-native-qrcode-scanner
debug Available platforms: iOS, Android
debug Targeted platforms: iOS, Android
debug Getting project config for iOS...
debug Getting project config for Android...
debug Package to link: react-native-qrcode-scanner

How can it be reproduced?

  1. create completely fresh react-native project
  2. install react native dependencies using yarn
  3. try to link react-native-qrcode-scanner

Build details?

all libraries installed from yarn repository

DnEgorWeb commented 5 years ago

Seems like it`s related to this issue.