mr-emoji icon indicating copy to clipboard operation
mr-emoji copied to clipboard

Unable to import package

Open emilioastarita opened this issue 6 years ago • 4 comments

Typescript is unable to import the package because the main field is referring to an unpublished field dist/index.js.

Can you include the CJS build or reference directly to the dist-es file ?

thanks!

emilioastarita avatar Apr 06 '18 12:04 emilioastarita

Hey @emilioastarita, I see you already forked a repo. Can you please send a pull request for CJS?

Thanks!

Dipen-Dedania avatar Apr 12 '18 06:04 Dipen-Dedania

Thanks for the package, @Dipen-Dedania! I'm running into a similar issue, but when I pull from the forked branch or directly reference the dist-es file, it fixes the import package issue. But now I get the following:

image

Wondering if you or @emilioastarita have seen a similar issue. Thanks for the help!

tleewu avatar Apr 29 '18 21:04 tleewu

I put in a PR for this, any news?

thomasparsons avatar Oct 14 '18 17:10 thomasparsons

I still have the same issue

Shane0531 avatar Feb 18 '19 03:02 Shane0531