joshwcomeau/new-component

yarn add global doesn't add the new-component command

Opened this issue · 0 comments

When I try and do yarn global add new-component and run the new-component command, it results in the following error:

new-component : The term 'new-component' is not
recognized as the name of a cmdlet, function,
script file, or operable program. Check the
spelling of the name, or if a path was
included, verify that the path is correct and
try again.
At line:1 char:1

  • new-component Title
  •   + CategoryInfo          : ObjectNotFound: (  
     new-component:String) [], CommandNotFoundEx   
    ception
      + FullyQualifiedErrorId : CommandNotFoundEx  
     ception
    
    

Using windows 10 platform for this.