Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Metronic7.2.9, Cannot find module '@babel/runtime/helpers/interopRequireDefault'

✘ ⚙ xxx@xxx-ThinkPad-P15v-Gen-2i  ~/Downloads/Metronic-7.2.9/theme/html/tools  npm run build --demo1

metronic@7.2.9 build /home/xxx/Downloads/tmp/Metronic-7.2.9/theme/html/tools webpack

[webpack-cli] Failed to load '/home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/webpack.config.js' config [webpack-cli] { Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/home/xxx/Downloads/tmp/Metronic-7.2.9/theme/html/tools/node_modules/rtlcss-webpack-plugin/dist/src/index.js:3:30) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' } npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! metronic@7.2.9 build: webpack npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the metronic@7.2.9 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/xxx/.npm/_logs/2023-05-25T07_06_42_017Z-debug.log

Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

Could you please provide the version of Node.js you currently have installed? You can find out by running the following command in your terminal:

node -v


As a side note, our recommended node version for optimal compatibility with the project is v18 or higher. If you have a lower version installed, it's advisable to update it.

If you're still experiencing issues after verifying the node version, you can try removing the node_modules directory and reinstalling the dependencies using Yarn.

Please let me know if you encounter any issues or need further assistance.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(