-
Hello I went to install the twilio-chat yarn package and upon running parcel watch I got the below error I had to install this babel runtime yarn package for it to work. First I tried this one but it still didn't work for some reason. To be honest I don't know what is the difference between the two versions it is a bit confusing. Is this a bug of parcel or it is normal that you have to install that package as a separate dependency? I know people who installed the twilio-chat package while using create-react-app and hadn't this issue for example. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No, this is an error on twilio's side.
This happened because some other package coincidentally had
When |
Beta Was this translation helpful? Give feedback.
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.jsonThis 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