Skip to content

incorrect path when generating component #1

Description

@insolentgeek

When I attempted to generate a component under ~/project/src I got the following error:

evalmachine.<anonymous>:77
      throw err;  // Forgot a callback but don't know where? Use NODE_DEBUG=fs
            ^
Error: ENOENT, open '/usr/home/user/project/src/src/components/newcomponent.jsx'
    at Error (native)

But when I was in the ~/project directory it was able to correctly generate the component.

The command should return to the root directory before execution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions