Giter Site home page Giter Site logo

Comments (12)

Cierpliwy avatar Cierpliwy commented on September 8, 2024 3

Can you check version 0.5.0 if this still happens?

from react-native-ble-plx.

ErreMalote avatar ErreMalote commented on September 8, 2024

Solved by using Git BASH. Windows doesn't support .sh files on command line.

from react-native-ble-plx.

Cierpliwy avatar Cierpliwy commented on September 8, 2024

I'll definitely check out and fix that issue on Windows.

from react-native-ble-plx.

albert-l-garrett avatar albert-l-garrett commented on September 8, 2024

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.

marwakhalil avatar marwakhalil commented on September 8, 2024

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.

BAVhel avatar BAVhel commented on September 8, 2024

@Cierpliwy 132426 verbose stack Error: [email protected] postinstall: bash build_ios_frameworks.sh

from react-native-ble-plx.

Cierpliwy avatar Cierpliwy commented on September 8, 2024

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.

BAVhel avatar BAVhel commented on September 8, 2024

@Cierpliwy I ran the script on windows and I cant run sh without bash.

from react-native-ble-plx.

Cierpliwy avatar Cierpliwy commented on September 8, 2024

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.

BAVhel avatar BAVhel commented on September 8, 2024

@Cierpliwy I have the same error on examples/ReactBLEScanner

from react-native-ble-plx.

jiazil avatar jiazil commented on September 8, 2024

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.

jiazil avatar jiazil commented on September 8, 2024

xcode 9

from react-native-ble-plx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.