I using Parcel and Orbit-DB. and then Error!
ReferenceError: Can't find variable: regeneratorRuntime
sample Repository.
https://github.com/Nipol/Parcel-orbitdb
help me!
Thanks a ton for setting up a sample repository for this! It'll make it easier to diagnose. We'll get to this when we are able to.
Hit this too trying to run on a DigitalOcean Ubuntu machine
Fixed by adding import 'babel-polyfill'; to the very top of the chain
@tyvdh Thanks! I added babel according to your advice.
Thanks for helping out, @tyvdh!
Actually, @tyvdh - were you also using Parcel? Or was this more general? If so, we should add your fix to the documentation.
General. I don’t even know what Parcel is 😋
Hmm. Good to know! Sounds like it is just an orbit-db mixup when using babel, then. Should we add that import in a PR?
Idk. It works fine locally on my Mac. So it must be some issue with the OS. Just having a reference to “if you have this issue, try including this package” is likely sufficient.
Cool. In that case, let's just leave this issue here and if someone else finds that this is the solution, let us know and we'll add it to the docs.
Most helpful comment
@tyvdh Thanks! I added babel according to your advice.