Hey Dan

>From the initial error statement it seems that the data for the "value"
used to compact/ minify is not appropriate at
https://github.com/Moveo/minimize/blob/master/lib/helpers.js Line 32-35

I would recommend to segregate each gulp task and debug them individually.

The following link might help to debug the same:

https://www.npmjs.com/package/gulp-debug
http://www.gregorygreen.info/debugging-gulp-js-tasks/
http://blog.jetbrains.com/webstorm/2014/11/gulp-in-webstorm-9/

Also, you can try replacing the minimize gulp module to something else:
http://node-modules.com/search?q=minimize
And also check for the jshint errors if any.

Regards
Rishi

http://blog.jetbrains.com/webstorm/2014/11/gulp-in-webstorm-9/

On Wed, Mar 25, 2015 at 8:14 PM, Dan Cancro <[email protected]> wrote:

> I don't see a 'check-style' task, but I think I disabled the
> 'clean-styles' one and got the same results.
>
> I don't entirely understand what's going on.  I commented a couple lines
> that I thought would disable things, like so...
>
> gulp.task('inject', ['wiredep'
>   //, 'styles'
>   //, 'templatecache'
> ], function() {
>
> but the output from gulp build looks thus, suggesting that it's still
> trying to run 'templatecache'
>
> ...
>
> [19:33:32] Starting 'images'...
> [19:33:32] Compressing and copying images
> [19:33:34] Finished 'clean-fonts' after 1.56 s
> [19:33:34] Starting 'fonts'...
> [19:33:34] Copying fonts
> [19:33:34] gulp-imagemin: Minified 0 images (saved 0 B - 0%)
> [19:33:34] Finished 'images' after 1.55 s
> [19:33:34] Finished 'fonts' after 6.07 ms
>
> /Users/Dan/work/app/client/app/app-start-spec.js
>   line 8   col 20  'jasmine' is not defined.  (W117)
>   line 36  col 24  'jasmine' is not defined.  (W117)
>   line 69  col 9   'testFns' is not defined.  (W117)
>   line 71  col 13  'toastr' is not defined.   (W117)
>   line 72  col 20  'toastr' is not defined.   (W117)
>   line 75  col 13  'toastr' is not defined.   (W117)
>   line 76  col 20  'toastr' is not defined.   (W117)
>   line 79  col 13  'toastr' is not defined.   (W117)
>   line 80  col 20  'toastr' is not defined.   (W117)
>   line 83  col 13  'toastr' is not defined.   (W117)
>   line 84  col 20  'toastr' is not defined.   (W117)
>
>   ⚠  11 warnings
>
> [19:33:34] Finished 'clean-code' after 2.14 s
> [19:33:34] Starting 'templatecache'...
> [19:33:34] Creating an AngularJS $templateCache
>
> /Users/Dan/work/app/client/app/app-start.js
>   line 13  col 22  'factory' was used before it was defined.
>             (W003)
>   line 23  col 9   Inner functions should be listed at the top of the
> outer function.  (W026)
>   line 23  col 24  'start' was used before it was defined.
>             (W003)
>   line 55  col 5   Possible strict violation.
>              (W040)
>
>   ⚠  4 warnings
>
> ...
>
>
> /Users/Dan/work/app/node_modules/gulp-minify-html/node_modules/minimize/lib/helpers.js:34
>   return value.replace(check, ' ');
>                ^
> RangeError: Maximum call stack size exceeded
>
>
> Here's a map of my gulp tasks from WebStorm:
>
>
> <https://lh3.googleusercontent.com/-GGq0tsJM_mY/VRNMtwYQGPI/AAAAAAAAH88/xhkaMx7e6Kw/s1600/Screen%2BShot%2B2015-03-25%2Bat%2B8.02.43%2Bpm.png>
>
> I'm not exactly sure what you mean by 'max limit of list.redundant'.  I
> don't see such a property of list.redundant
>
> > list.redundant.toString()
>
>
> autofocus,disabled,multiple,required,readonly,hidden,async,defer,formnovalidate,checked,scoped,reversed,selected,autoplay,controls,loop,muted,seamless,default,ismap,novalidate,open,typemustmatch,truespeed,itemscope,autocomplete
>
>  --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Rishi Tandon*
Pearson Learning Technology Group

Mobile: (310) 926-9032

Pearson
Always Learning
Learn more at www.pearson.com

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to