IhorPeresunko / expo-audio-streaming

Expo module for React Native to play dynamic audio stream and record audio stream from microphone
https://www.npmjs.com/package/expo-audio-streaming
8 stars 1 forks source link

Error: Cannot find native module 'ExpoAudioStreaming', js engine: hermes #1

Open camilomontoyau opened 9 months ago

camilomontoyau commented 9 months ago

Hi! I have the following error, and I was wondering if I can have some guidance 🙏🏻
(sorry my iphone's screenshot is very large)

IMG_6506

the following is the entire error log `Logs for your project will appear below. Press Ctrl+C to exit. iOS Bundling complete 2305ms ERROR Error: Cannot find native module 'ExpoAudioStreaming', js engine: hermes at App (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:129629:82) at withDevTools(App) (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:129258:27) at RCTView at View (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59414:43) at RCTView at View (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59414:43) at AppContainer (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59257:36) at main(RootComponent) (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:109087:28) ERROR Error: Cannot find native module 'ExpoAudioStreaming', js engine: hermes at App (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:129629:82) at withDevTools(App) (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:129258:27) at RCTView at View (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59414:43) at RCTView at View (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59414:43) at AppContainer (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:59257:36) at main(RootComponent) (http://192.168.20.20:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:109087:28) ERROR TypeError: Cannot read property 'Player' of undefined

This error is located at: in App (created by withDevTools(App)) in withDevTools(App) in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in main(RootComponent), js engine: hermes ERROR TypeError: Cannot read property 'Player' of undefined

This error is located at: in App (created by withDevTools(App)) in withDevTools(App) in RCTView (created by View) in View (created by AppContainer) in RCTView (created by View) in View (created by AppContainer) in AppContainer in main(RootComponent), js engine: hermes `

Aichnerc commented 8 months ago

Same thing here! @IhorPeresunko

The mention of Expo managed workflow gave me some hope.

ciaundumitrel commented 6 months ago

Same here! Did you guys find any fix?

ciaundumitrel commented 6 months ago

@IhorPeresunko

reinier-millo commented 3 months ago

Hi, I was getting the same problem. The problem was solved to me moving the expo-audio-streaming dependency to the package.json in the repo that is handled by expo. By default when I was adding the dependency was added to the root folder package.json.

admfrenchdev commented 1 week ago

@reinier-millo

Hi, I was getting the same problem. The problem was solved to me moving the expo-audio-streaming dependency to the package.json in the repo that is handled by expo. By default when I was adding the dependency was added to the root folder package.json.

Hi! What do you mean by repo that is handled by expo. Afaik, I have just one package.jsonin my project XD I might be searching at the wrong place.