lijinke666 / react-music-player

[Stop the maintenance] :musical_note: Maybe the best beautiful HTML5 responsive player component for react :)
https://lijinke666.github.io/react-music-player/
MIT License
694 stars 204 forks source link

error in next Js 13 #543

Open himanshu8443 opened 1 year ago

himanshu8443 commented 1 year ago

Version

4.24.2

Description

after installing when I start the server npm run dev I got this error

next js 13.4.9 I am using 'use client'

Steps

/**
 - error node_modules\react-jinke-music-player\lib\index.js (120:0) @ eval
- error TypeError: _sortablejs.Swap is not a constructor
    at __webpack_require__ (C:\Users\dm247\OneDrive\Desktop\Next\my-app\.next\server\webpack-runtime.js:33:43)
    at eval (./src/components/Player.jsx:14:82)
    at (sc_client)/./src/components/Player.jsx (C:\Users\dm247\OneDrive\Desktop\Next\my-app\.next\server\app\page.js:2027:1)
    at __webpack_require__ (C:\Users\dm247\OneDrive\Desktop\Next\my-app\.next\server\webpack-runtime.js:33:43)
null
 */
Sachio-haise commented 12 months ago

me too I am facing that error. Still can't find the solution

TeaByte commented 11 months ago

same here

pomeloking01 commented 9 months ago

i work fine using dynamic import player