microsoft/BotFramework-DirectLineJS

Error: Unable to resolve module core-js/features/promise

jaykeerti opened this issue · 2 comments

Guys i am unable to use the module as this error pops up whenever I run

I have downgraded to 0.11.6 because of this issue:#317
image

Can you share some details about your usage? Is this for a Node .js project, a browser project, or something else?

Resolution with Node.js works properly as core-js is listed in the package dependencies. A quick test in the browser indicates that dist/directline.js has the correct dependencies bundled as well.

To use the bundled version of Directline you can try:

<script type="text/javascript" src="https://unpkg.com/botframework-directlinejs@latest/dist/directline.js"></script>

i was just working on react native project (link)
@joshgummersall This helped Thanks.