bdkjones / CodeKit

CodeKit 3 Issue Tracker
https://codekitapp.com
82 stars 5 forks source link

Babel Transpile Error. #692

Closed imtiazwazir closed 2 years ago

imtiazwazir commented 2 years ago

Babel transpile providing following error

Uncaught ReferenceError: regeneratorRuntime is not defined.

Created the new project also did not help.

imtiazwazir commented 2 years ago

Just for the record:

Did went through the step mentioned here https://codekitapp.com/help/babel/ and still the issue persist.

It is impossible to transpile with babel with async/await with codekit.

bdkjones commented 2 years ago

That is not correct. When you think it's the tooling, double-check your own code.

There's a whole section about async/await in CodeKit's docs.

imtiazwazir commented 2 years ago

Already checked the docs.

also code does work without Babel Transpile and with Babel it always shows errors.

Just for your info Babel has removed many support for pollyfills so you may want to look into it.

bdkjones commented 2 years ago

image

imtiazwazir commented 2 years ago

Yes, I already mentioned here https://github.com/bdkjones/CodeKit/issues/692#issuecomment-1155918490, I went through that documentation and no success.