Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

am trying to install metronic 7 with webpack


but every time shows this error

Error: Cannot find module "@babel/runtime/helpers/interopRequireDefault"
Require stack:
- F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-merge-and-include-globally\index.node6-compatible.js
- F:\metronic_v7.1.0\theme\html\tools\webpack.config.js
- F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\utils\convert-argv.js
- F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\cli.js
- F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack\bin\webpack.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (F:\metronic_v7.1.0\theme\html\tools\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at Object.<anonymous> (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-merge-and-include-globally\index.node6-compatible.js:3:30)
at Module._compile (F:\metronic_v7.1.0\theme\html\tools\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (F:\metronic_v7.1.0\theme\html\tools\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at Object.<anonymous> (F:\metronic_v7.1.0\theme\html\tools\webpack.config.js:13:25)
at Module._compile (F:\metronic_v7.1.0\theme\html\tools\node_modules\v8-compile-cache\v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (F:\metronic_v7.1.0\theme\html\tools\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at WEBPACK_OPTIONS (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\utils\convert-argv.js:114:13)
at requireConfig (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\utils\convert-argv.js:116:6)
at F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\utils\convert-argv.js:123:17
at Array.forEach (<anonymous>)
at module.exports (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\utils\convert-argv.js:121:15)
at F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\cli.js:71:45
at Object.parse (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\node_modules\yargs\yargs.js:576:18)
at F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\cli.js:49:8
at Object.<anonymous> (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack-cli\bin\cli.js:366:3)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (F:\metronic_v7.1.0\theme\html\tools\node_modules\webpack\bin\webpack.js:156:2)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) {
code: "MODULE_NOT_FOUND",
requireStack: [
"F:\\metronic_v7.1.0\\theme\\html\\tools\\node_modules\\webpack-merge-and-include-globally\\index.node6-compatible.js",
"F:\\metronic_v7.1.0\\theme\\html\\tools\\webpack.config.js",
"F:\\metronic_v7.1.0\\theme\\html\\tools\\node_modules\\webpack-cli\\bin\\utils\\convert-argv.js",
"F:\\metronic_v7.1.0\\theme\\html\\tools\\node_modules\\webpack-cli\\bin\\cli.js",
"F:\\metronic_v7.1.0\\theme\\html\\tools\\node_modules\\webpack\\bin\\webpack.js"
]
}

when i run npm run build --demo1

i followed all of the YouTube tutorial video : https://youtu.be/D4mQ9v8ENf4?list=PL-MvEL6_sflLSqcmtYJlI0mlDt23-NHFQ


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi Hussain,

The error seems incompatibility issue. Have a go and try upgrade babel runtime:


"@babel/runtime": "7.0.0-beta.55"


Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(