react-native-track-player icon indicating copy to clipboard operation
react-native-track-player copied to clipboard

react-native-track-player@npm:5.0.0-alpha0 Reported an error on the web side

Open dppo opened this issue 3 months ago • 4 comments

✘ [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:

dppo avatar Sep 18 '25 22:09 dppo

Unable to resolve module ../web from node_modules/react-native-track-player/lib/module/NativeTrackPlayer.web.js:

Can confirm, web functionality is still broken.

JustAHippo avatar Oct 05 '25 19:10 JustAHippo

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.

JustAHippo avatar Oct 05 '25 19:10 JustAHippo

Confirmed as well, web broken

seanghods avatar Oct 06 '25 23:10 seanghods

compactCapabilities: [Capability.Play, Capability.Pause], this is not wroking and player buttons on the status bar are not responding

donaldchada avatar Oct 25 '25 16:10 donaldchada