Skip to content

Error Path Must be String when generating a directive #2288

@sarvarbek

Description

@sarvarbek

When using the following command, angular-fullstack:directive and given the following example:

MacBook-Pro:order xxx$ yo angular-fullstack:directive
? What module name would you like to use? leftNav
? Where would you like to create this directive? client/components (Have tried with quotes as well)
? Does this directive need an external html file? Yes
events.js:160
throw er; // Unhandled 'error' event
^

TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:1213:7)
at /usr/local/lib/node_modules/generator-angular-fullstack/node_modules/generator-ng-component/generators/directive/index.js:68:37

Item Version
generator-angular-fullstack 4.1.0
generator-ng-component 1.0.2
Node 6.2.2
npm 3.9.5
Operating System OS X 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions