Forking and building locally
Prerequisites
- [X] I checked the documentation and FAQ without finding a solution
- [X] I checked to make sure that this issue has not already been filed
- [X] I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
- [ ] I'm running the latest version
Question
I need to make some changes at the native java level but when I include the package directly from github using the following in packages.json: "react-native-ble-plx": "https://github.com/dotintent/react-native-ble-plx#release/3.2.0"
I get the following error when running yarn:
[email protected] clean:plugin expo-module clean plugin
C:\Users\test\AppData\Local\Yarn\Cache\v6.tmp\c069faf5326dc3afb7823e6eb9096b12.1bc1e9ceaecb63c9c36b8846eba07d2878e91679.prepare\node_modules\expo-module-scripts\bin\expo-module-clean:3 set -eo pipefail ^^^^^^^^
SyntaxError: Unexpected identifier 'pipefail' at wrapSafe (node:internal/modules/cjs/loader:1281:20) at Module._compile (node:internal/modules/cjs/loader:1321:27) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) at node:internal/main/run_main_module:28:49
Any help would be much appreciated.
Question related code
> [email protected] clean:plugin
> expo-module clean plugin
C:\Users\test\AppData\Local\Yarn\Cache\v6\.tmp\c069faf5326dc3afb7823e6eb9096b12.1bc1e9ceaecb63c9c36b8846eba07d2878e91679.prepare\node_modules\expo-module-scripts\bin\expo-module-clean:3
set -eo pipefail
^^^^^^^^
SyntaxError: Unexpected identifier 'pipefail'
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49