
I encountered an error in my WordPress Gutenberg block development, which is causing the following issue:
VM505 blocks.js:703 Uncaught TypeError: Cannot read properties of undefined (reading 'components')
at VM505 blocks.js:703:44
at @wordpress/components (VM505 blocks.js:703:61)
at __webpack_require__ (VM505 blocks.js:20:30)
at ./src/js/gutenberg/blocks/heading-with-icon/edit.js (VM505 blocks.js:357:79)
at __webpack_require__ (VM505 blocks.js:20:30)
at ./src/js/gutenberg/blocks/heading-with-icon/index.js (VM505 blocks.js:473:63)
at __webpack_require__ (VM505 blocks.js:20:30)
at ./src/js/blocks.js (VM505 blocks.js:100:93)
at __webpack_require__ (VM505 blocks.js:20:30)
at VM505 blocks.js:84:18
I encountered an error in my WordPress Gutenberg block development, which is causing the following issue: