Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Undefined is not a function #172

Open
HdSeKenny opened this issue Dec 26, 2016 · 3 comments
Open

Undefined is not a function #172

HdSeKenny opened this issue Dec 26, 2016 · 3 comments

Comments

@HdSeKenny
Copy link

HdSeKenny commented Dec 26, 2016

Description

When I run gulp build and gulp serve, open browser and type 'localhost:3000', the development tools will display 'Undefined is not a function!'.

Error Message & Stack Trace

1084ce72-6efa-41a4-8557-96a9ea49f9ec

Config

Copy the content from .yo-rc.json:

{
  "generator-fountain-angular1": {
    "version": "1.0.0-rc2",
    "props": {
      "framework": "angular1",
      "modules": "webpack",
      "js": "babel",
      "ci": [
        "travis"
      ],
      "css": "scss",
      "resolved": "/usr/local/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
      "namespace": "fountain-angular1",
      "argv": {
        "remain": [],
        "cooked": [],
        "original": []
      },
      "sample": "todoMVC",
      "router": "uirouter"
    }
  }
}

Environment

Node.js v6.8.1
darwin 16.3.0
yo 1.8.5
npm 3.10.8
@manzapanza
Copy link

+1

@markfranco
Copy link

I'm having the same issue as well

@ProfitWarning
Copy link

In MainSection.html ng-repeat is wrong:
ng-repeat="todo in $ctrl.todos.filter($ctrl.selectedFilter.filter)"

Use:
ng-repeat="todo in $ctrl.todos | filter : $ctrl.selectedFilter.filter"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants