MOHAMMAD-NAYAN / nayan-media-downloader

14 stars 7 forks source link

Package import problem #2

Open Sahil-Gupta584 opened 5 months ago

Sahil-Gupta584 commented 5 months ago

getting this error while importing package

code>

import {alldown} from 'nayan_media_downloader';

error>> (0 , nayan_media_downloaderWEBPACK_IMPORTED_MODULE_3.ndown) is not a function TypeError: (0 , nayan_media_downloaderWEBPACK_IMPORTED_MODULE_3.ndown) is not a function

also>

unhandledRejection: Error: Cannot find module '../package.json' Require stack:

MOHAMMAD-NAYAN commented 5 months ago

Contact wp Wp link: wa.me/+8801615298449

NoNameUserF commented 2 months ago

Hi, ur lib is very useful, but can u add supporting es6 modules pease , for import and export, not only require ?

MOHAMMAD-NAYAN commented 2 months ago

Import working

On Sat, 31 Aug 2024, 9:25 pm NoNameUserF, @.***> wrote:

Hi, ur lib is very useful, but can u add supporting es6 modules pease , for import and export, not only require ?

— Reply to this email directly, view it on GitHub https://github.com/MOHAMMAD-NAYAN/nayan-media-downloader/issues/2#issuecomment-2322932253, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZDIC77ZGFLPZ7ETQVNMPMDZUHN77AVCNFSM6AAAAABJBUJYZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSHEZTEMRVGM . You are receiving this because you commented.Message ID: @.***>