Comments (12)
Can you check version 0.5.0 if this still happens?
from react-native-ble-plx.
Solved by using Git BASH. Windows doesn't support .sh files on command line.
from react-native-ble-plx.
I'll definitely check out and fix that issue on Windows.
from react-native-ble-plx.
I found this solution.
http://www.windowscentral.com/how-install-bash-shell-command-line-windows-10
which appears to work with installation command "npm install react-native-ble-plx" but not with approach to edit package.json to include dependency for react-native-ble-plx followed by installation command "npm install"
from react-native-ble-plx.
Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "react-native-ble-plx"
npm ERR! node v7.9.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: bash build_ios_frameworks.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'bash build_ios_frameworks.sh'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-native-ble-plx package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bash build_ios_frameworks.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-native-ble-plx
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls react-native-ble-plx
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/marwazribi/.npm/_logs/2017-05-05T14_59_43_032Z-debug.log
and i'm a mac user
from react-native-ble-plx.
@Cierpliwy 132426 verbose stack Error: [email protected] postinstall: bash build_ios_frameworks.sh
from react-native-ble-plx.
Is it your full error? Can you enter library directory and run this script by hand?:
cd ./node_modules/react-native-ble-plx/
./build_ios_frameworks.sh
from react-native-ble-plx.
@Cierpliwy I ran the script on windows and I cant run sh without bash.
from react-native-ble-plx.
Probably I will need to create node based script to be platform agnostic. If you want this feature faster, maybe you can tackle this problem and send me PR?
from react-native-ble-plx.
@Cierpliwy I have the same error on examples/ReactBLEScanner
from react-native-ble-plx.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: bash build_ios_frameworks.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
from react-native-ble-plx.
xcode 9
from react-native-ble-plx.
Related Issues (20)
- unable to read property list from file: /Users/testuser/Desktop/bluetooth-ble/ios/bluetoothble/Info.plist: The operation couldnโt be completed. (XCBUtil.PropertyListConversionError error 2.) HOT 3
- I can write data to the device, but I cannot receive data. HOT 3
- ๐ Making methods async and/or arrow functions in v3.2.0 is a breaking change HOT 4
- BleError: Device Is Not Connected HOT 5
- Android: scan not returning devices HOT 15
- ๐ iOS example app does not want to start HOT 1
- ๐ empty known devices list on Android HOT 4
- IOS Service UUID does not getting HOT 7
- Support sharing JSON data between devices HOT 2
- ๐ The onstatechange was not fired if the app's blue permission was disabled HOT 5
- ๐ IOS\Android disconnecting from bluetooth device after connecting if we don't write characteristics after 30 seconds. HOT 4
- ๐ BluetoothLE is in unknown state, but the state is PoweredOn HOT 7
- Auto-disconnection in some Android devices HOT 5
- ๐ Scanning devices, it only finds my ble beacon on Android 11 (it doesn't on iOS 17.5.1 and Android 14) HOT 2
- I have connected to the IoT device, but I still cannot get the data sent by the IoT device. Does it not support the Bluetooth serial port? HOT 1
- Read characteristic in background? HOT 2
- isDeviceConnected return BleErrorCode.DeviceDisconnected instead of false๐ HOT 2
- ๐ManufacturerData on iOS returning null, in Android is correctly setted HOT 20
- Issue with [BleError: Operation was cancelled] on iOS 17 HOT 10
- ๐ Module does not work with Android Auto, when there is no Activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ble-plx.