(base) PS D:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks> npm run build

> custom@1.0.0 build
> wp-scripts build

assets by status 10.1 KiB [cached] 2 assets
Entrypoint index = index.js index.asset.php
C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBloc...(truncated) 39 bytes [built] [code generated] [1 error]

ERROR in C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\src\index.js
Module build failed (from C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\babel-loader\lib\index.js):
SyntaxError: C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\src\index.js: Support for the experimental syntax 'jsx' isn't currently enabled (21:4):

  19 |  return ( props ) => {
  20 |          return (
> 21 |                  <Fragment>
     |                  ^
  22 |                          <BlockEdit { ...props } />
  23 |                          <InspectorControls>
  24 |                                  <PanelBody title={ __( 'Custom Controls' ) } initialOpen={ true } >

Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx) to the 'plugins' section to enable parsing.
    at instantiate (C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\@babel\parser\lib\index.js:63:32)
    at constructor (C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\@babel\parser\lib\index.js:356:12)
    at Parser.raise (C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\@babel\parser\lib\index.js:3240:19)
    at Parser.expectOnePlugin (C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\@babel\parser\lib\index.js:3286:18)
    at Parser.parseExprAtom (C:\Works\Web\artkai-front-2023-api\wp-content\themes\artkai\gutenberg\customBlocks\node_modules\@babel\parser\lib\index.js:11224:18) Your response should contain less than 350 words.
user