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

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