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.
When I attempted to generate a component under
~/project/srcI got the following error:But when I was in the
~/projectdirectory it was able to correctly generate the component.The command should return to the root directory before execution.