UrielCh / adbkit

A pure Node.js client for the Android Debug Bridge.
Other
34 stars 9 forks source link

Import error after upgrade to 4.1.20 #23

Open niranjan94 opened 1 week ago

niranjan94 commented 1 week ago
require() of ES Module /home/app/node_modules/.pnpm/promise-duplex@8.0.0/node_modules/promise-duplex/lib/promise-duplex.js from /home/app/node_modules/.pnpm/@u4+adbkit@4.1.20/node_modules/@u4/adbkit/dist/adb/thirdparty/scrcpy/Scrcpy.js not supported.
Instead change the require of promise-duplex.js in /home/app/node_modules/.pnpm/@u4+adbkit@4.1.20/node_modules/@u4/adbkit/dist/adb/thirdparty/scrcpy/Scrcpy.js to a dynamic import() which is available in all CommonJS modules."
sopheakseng commented 3 days ago

i have this issue too