Skip to content

Parcel 2 Missing Babel Runtime #4727

Answered by mischnic
fab7jj asked this question in General
Discussion options

You must be logged in to vote

it is normal that you have to install that package as a separate dependency

No, this is an error on twilio's side.
They import babel-runtime in their package (see https://unpkg.com/browse/[email protected]/browser/client.js line 3) but didn't declare it as a dependency in their package.json: https://unpkg.com/browse/[email protected]/package.json

I know people who installed the twilio-chat package while using create-react-app and hadn't this issue for example.

This happened because some other package coincidentally had babel-runtime as a dependency and so it was already available. But this is prone to break in the future

To be honest I don't know what is the difference between the tw…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fab7jj
Comment options

Answer selected by fab7jj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4727 on June 11, 2020 21:20.