Skip to content

Cannot read property 'sourceDir' of undefined #619

@ruwhan

Description

@ruwhan

I am filing a bug.

  1. OS. Mac OSX El Capitan.
  2. Versions:
angular-cli: 0.0.37
node: 5.1.0
os: darwin x64
  1. Repro steps:
    Just run ng serve
  2. Error logs:
 Cannot read property 'sourceDir' of undefined
TypeError: Cannot read property 'sourceDir' of undefined
    at new Angular2App (/Users/ruwhan/Projects/dfci/test-portal/node_modules/angular-cli/lib/broccoli/angular2-app.js:30:40)
    at module.exports (/Users/ruwhan/Projects/dfci/test-portal/angular-cli-build.js:6:10)
    at Class.module.exports.Task.extend.setupBroccoliBuilder (/Users/ruwhan/Projects/dfci/test-portal/node_modules/angular-cli/lib/models/builder.js:55:19)
    at Class.module.exports.Task.extend.init (/Users/ruwhan/Projects/dfci/test-portal/node_modules/angular-cli/lib/models/builder.js:89:10)
    at new Class (/Users/ruwhan/Projects/dfci/test-portal/node_modules/core-object/core-object.js:18:12)
    at Class.module.exports.Task.extend.run (/Users/ruwhan/Projects/dfci/test-portal/node_modules/angular-cli/lib/tasks/serve.js:15:19)
    at /Users/ruwhan/Projects/dfci/test-portal/node_modules/angular-cli/lib/commands/serve.js:64:24
    at lib$rsvp$$internal$$tryCatch (/Users/ruwhan/Projects/dfci/test-portal/node_modules/rsvp/dist/rsvp.js:1036:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/ruwhan/Projects/dfci/test-portal/node_modules/rsvp/dist/rsvp.js:1048:17)
    at /Users/ruwhan/Projects/dfci/test-portal/node_modules/rsvp/dist/rsvp.js:331:11
    at lib$rsvp$asap$$flush (/Users/ruwhan/Projects/dfci/test-portal/node_modules/rsvp/dist/rsvp.js:1198:9)
    at doNTCallback0 (node.js:430:9)
    at process._tickCallback (node.js:359:13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions