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

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