Skip to content

Instantly share code, notes, and snippets.

@johnbendi
Last active April 23, 2016 23:19
Show Gist options
  • Save johnbendi/3bfaf65220bd6db0d7a7fb4f0d2bdc53 to your computer and use it in GitHub Desktop.
Save johnbendi/3bfaf65220bd6db0d7a7fb4f0d2bdc53 to your computer and use it in GitHub Desktop.
Trace for angular build error when running grunt package command
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Loading "Gruntfile.js" tasks...ERROR
>> TypeError: undefined is not a function
>> at Array.filter (native)
>> at getPreviousVersions (/opt/javascript/angular.js/lib/versions/version-info.js:111:8)
>> at Object.<anonymous> (/opt/javascript/angular.js/lib/versions/version-info.js:204:47)
>> at Module._compile (module.js:413:34)
>> at Object.Module._extensions..js (module.js:422:10)
>> at Module.load (module.js:357:32)
>> at Function.Module._load (module.js:314:12)
>> at Module.require (module.js:367:17)
>> at require (internal/module.js:16:19)
>> at Object.<anonymous> (/opt/javascript/angular.js/Gruntfile.js:5:19)
Running tasks: package
Warning: Task "package" not found. Use --force to continue.
Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment