flxbl-io / sfp

A build system for modular development in Salesforce
https://docs.flxbl.io/sfp/
MIT License
26 stars 13 forks source link

The term 'sfp' is not recognized #69

Closed Varun200864 closed 2 months ago

Varun200864 commented 2 months ago

I am trying to set up sfp by following: flxbl Docs

Ran this command:

npm i -g @flxbl-io/sfp Output:

changed 546 packages in 5m

63 packages are looking for funding
  run `npm fund` for details

As mentioned in step B in flxbl Docs, ran below command: sfp --version

But getting the error output like below:

sfp : The term 'sfp' 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
+ sfp --version
+ ~~~
    + CategoryInfo          : ObjectNotFound: (sfp:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
Varun200864 commented 2 months ago

Issue fixed by adding the path C:\Users\<>\AppData\Roaming\npm in Path environment variable