Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect path when generating component #1

Open
insolentgeek opened this issue Jul 18, 2015 · 0 comments
Open

incorrect path when generating component #1

insolentgeek opened this issue Jul 18, 2015 · 0 comments

Comments

@insolentgeek
Copy link

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.

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

No branches or pull requests

1 participant