react-native-track-player
react-native-track-player copied to clipboard
react-native-track-player@npm:5.0.0-alpha0 Reported an error on the web side
✘ [ERROR] Could not resolve "../web"
node_modules/react-native-track-player/lib/module/NativeTrackPlayer.web.js:3:23:
3 │ const module = require('../web').default;
╵ ~~~~~~~~
/Users/dppo/Projects/Yunlu_new/YunluApp/node_modules/esbuild/lib/main.js:1467
let error = new Error(text);
^
Error: Error during dependency optimization:
Unable to resolve module ../web from node_modules/react-native-track-player/lib/module/NativeTrackPlayer.web.js:
Can confirm, web functionality is still broken.
Came back with testing. The last web-safe version is 4.0.1. I really hope this is fixed since it looks like it's been broken for a long time.
Confirmed as well, web broken
compactCapabilities: [Capability.Play, Capability.Pause], this is not wroking and player buttons on the status bar are not responding