JavaScript for WordPress Forums Gutenberg Development Getting an error in run dev Reply To: Getting an error in run dev

#37650
Zac Gordon
Keymaster

That is strange you’re getting that error as the babel file included should have handled that. Did the babel file get included in your example?

It’s happening because object deconstruction is not yet a part of JS.