Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forking and building locally #1236

Open
3 of 4 tasks
ddkuz opened this issue Aug 29, 2024 · 0 comments
Open
3 of 4 tasks

Forking and building locally #1236

ddkuz opened this issue Aug 29, 2024 · 0 comments
Labels

Comments

@ddkuz
Copy link

ddkuz commented Aug 29, 2024

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed
  • 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
@ddkuz ddkuz added the question label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant