Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Gulp --prod is not working


Support,

When I do "gulp --prod" I get this:

node.exe : PluginError [SyntaxError]: Unterminated string constant
At C:\Users\Matt\AppData\Roaming\npm\gulp.ps1:24 char:5
+ & "node$exe" "$basedir/node_modules/gulp-cli/bin/gulp.js" $args
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (PluginError [Sy...string constant:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

at js_error (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:554:11)
at parse_error (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:690:9)
at C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:841:48
at C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:1054:24
at Object.next_token [as input] (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:1089:40)
at peek (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:1258:56)
at next (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:1263:24)
at maybe_assign (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:3477:17)
at expression (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:3497:24)
at params_or_seq_ (C:\TFS\TestProject\wwwroot\lib\metronic\tools\node_modules\terser\dist\bundle.min.js:2054:24) {
filename: '0',
line: 5,
col: 6732,
pos: 6862,
__safety: undefined,
_stack: undefined,
plugin: 'terser',
showProperties: true,
showStack: false

Not sure how to trouble shoot.

I did a "gulp" and that works fine.


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 Matt,

Unfortunately, we were not able to reproduce this issue in the latest Metronic Asp.Net version.

Did you make any changes to our gulp configuration? If there are any steps on how we can reproduce this issue, could you please describe them?

Regards,
Lauris Stepanovs,
Keenthemes Support Team


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