← All tasks
javascriptdotintent/react-native-ble-plx #1127Not a task: not reproduced

🐛 Config plugin installation problem

envgap__dotintent__react-native-ble-plx-1127

01 / FAILURE SIGNATURE

As reported upstream

CommandError: Package "react-native-ble-plx" does not contain a valid config plugin.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
e94ae414f3847ee5e74937e60c6dff4df5f76003
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

dotintent/react-native-ble-plx #1127 · read the original issue
### 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



### Expected Behavior



Thanks for updating the library and integrating expo config plugin.



However, when I try using it on a new repo, it doesn't seem to build. Please let me know if there are missed steps.



### Current Behavior



`npx expo prebuild` fails.



### Library version



^3.1.0



### Device



iOS 17



### Environment info



```shell

info Fetching system and libraries information...

System:

  OS: macOS 14.0

  CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz

  Memory: 482.87 MB / 16.00 GB

  Shell:

    version: "5.9"

    path: /bin/zsh

Binaries:

  Node:

    version: 20.6.1

    path: /usr/local/bin/node

  Yarn:

    version: 1.22.19

    path: /usr/local/bin/yarn

  npm:

    version: 9.8.1

    path: /usr/local/bin/npm

  Watchman:

    version: 2023.09.04.00

    path: /usr/local/bin/watchman

Managers:

  CocoaPods:

    version: 1.13.0

    path: /usr/local/bin/pod

SDKs:

  iOS SDK:

    Platforms:

      - DriverKit 23.0

      - iOS 17.0

      - macOS 14.0

      - tvOS 17.0

      - watchOS 10.0

  Android SDK: Not Found

IDEs:

  Android Studio: 2021.3 AI-213.7172.25.2113.9123335

  Xcode:

    version: 15.0.1/15A507

    path: /usr/bin/xcodebuild

Languages:

  Java:

    version: 11.0.13

    path: /usr/bin/javac

  Ruby:

    version: 2.6.10

    path: /usr/bin/ruby

npmPackages:

  "@react-native-community/cli": Not Found

  react:

    installed: 18.2.0

    wanted: 18.2.0

  react-native:

    installed: 0.72.3

    wanted: 0.72.3

  react-native-macos: Not Found

npmGlobalPackages:

  "*react-native*": Not Found

Android:

  hermesEnabled: true

  newArchEnabled: false

iOS:

  hermesEnabled: true

  newArchEnabled: false

```





### Steps to reproduce



1. `npx create-react-native-app --use-npm -t with-dev-client`

1. `cd my-project`

1. `npx expo install --npm react-native-ble-plx`

1. Edit app.json to add `react-native-ble-plx` in `expo.plugins`

1. `npx expo prebuild`





### Relevant log output



```shell

CommandError: Package "react-native-ble-plx" does not contain a valid config plugin.

Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin



Unexpected token 'export'

```





### Additional information



Link to CRNA template `with-dev-client`: https://github.com/expo/examples/tree/308169c3ea8fedc26c2e2905bcd2e66739e6b2e6/with-dev-client



Result dependencies in `package.json`:

```

{

   ...

    "dependencies": {

    "expo": "^49.0.3",

    "expo-dev-client": "~2.4.6",

    "expo-splash-screen": "~0.20.4",

    "expo-status-bar": "~1.6.0",

    "expo-updates": "~0.18.10",

    "react": "18.2.0",

    "react-dom": "18.2.0",

    "react-native": "0.72.3",

    "react-native-ble-plx": "^3.1.0",

    "react-native-web": "~0.19.6"

  },

  "devDependencies": {

    "@babel/core": "^7.19.3"

  },

  ...

}

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]