dpa99c / react-native-launch-navigator

A React Native module for launching today's most popular navigation/ride apps to navigate to a destination.
143 stars 34 forks source link

Error on Install #3

Closed Vilina closed 5 years ago

Vilina commented 5 years ago

I'm submitting a ... (check one with "x"):

Bug report

Current behavior: on npm install --save react-native-launch-navigator

i get error

react-native-launch-navigator@1.0.2 postinstall D:\projects\s-d-app\node_modules\react-native-launch-navigator node scripts/postinstall.js

path.js:28 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^

TypeError: Path must be a string. Received null at assertPath (path.js:28:11) at Object.join (path.js:489:7) at Object. (D:\projects\s-d-app\node_modules\react-native-launch->navigator\scripts\ios.link_helpers.js:44:23) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18)

Expected behavior:

Steps to reproduce:

Environment information I am developing with expo

dpa99c commented 5 years ago

Expo does not support native modules such as this:

https://docs.expo.io/versions/latest/introduction/faq

The most limiting thing about Expo is that you can't add in your own native modules without detaching and using ExpoKit.

amalamarypaul commented 5 years ago

error on install