New Metronic Docs!Added Integration Docs with Starter Kits Apps for Laravel, Laravel Livewire, Angular, Vue, Symfony, Blazor Server, Django & Flask & more
Browse Docs

Gulp --demo1 error


Hello,

I am getting the bellow error when I try to build the demo1 theme. Please help. Thank you.

C:\recruiter-ai\ui\tools>gulp --demo1
Error: Not supported
at eval (eval at <anonymous> (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:10:15), <anonymous>:1:1)
at requireOrImport (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:24:7)
at execute (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^4.0.0\index.js:37:3)
at Liftoff.handleArguments (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\index.js:211:24)
at Liftoff.execute (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\liftoff\index.js:201:12)
at module.exports (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\flagged-respawn\index.js:51:3)
at Liftoff.<anonymous> (C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\liftoff\index.js:191:5)
at C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\liftoff\index.js:149:9
at C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\v8flags\index.js:162:14
at C:\Users\marko\AppData\Roaming\npm\node_modules\gulp-cli\node_modules\v8flags\index.js:41:14


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 (2)


Hi,

What is your node.js version? Please run this command to check the version.


node -v


If not v16, please try to download and install node.js v16.


Please try to remove yarn.lock file and retry with the "yarn" command.

Thanks



Upgrading node.js worked for me. Thank you Faizal!


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  :(