We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yarn global add @vue-storefront/cli@next
vsf
Command 'vsf' not found, did you mean: [...]
ERROR VSF Provide command
Steps described above in Current behavior and Expected behavior sections
Problem does not occur when using NPM to install the CLI package.
Even though Yarn informs that the binary was installed, it's unavailable. Example installation log:
success Installed "@vue-storefront/cli@2.0.3" with binaries: - vsf
The text was updated successfully, but these errors were encountered:
Please open terminal and run:
yarn global bin
Then:
echo $PATH;
I bet you do not have path to yarn global binaries in your $PATH - that's why you cannot run it from each place. More about this here
$PATH
To solve this you should modify your $PATH variable. You could use (just tested it on Ubuntu 20.04):
export PATH="$(yarn global bin):$PATH"
Unfortunately, it will work only for the current terminal. If you want to have it permanently, you want to modify your ~/.bashrc. More about this here
~/.bashrc
Sorry, something went wrong.
@Fifciu Yep, that was the issue, thanks 🙂
Fifciu
No branches or pull requests
Current behavior
yarn global add @vue-storefront/cli@next
vsf
Command 'vsf' not found, did you mean: [...]
Expected behavior
yarn global add @vue-storefront/cli@next
vsf
ERROR VSF Provide command
Steps to reproduce the issue
Steps described above in Current behavior and Expected behavior sections
Version of Vue Storefront
Can you handle fixing this bug by yourself?
Environment details
Additional information
Problem does not occur when using NPM to install the CLI package.
Even though Yarn informs that the binary was installed, it's unavailable. Example installation log:
success Installed "@vue-storefront/cli@2.0.3" with binaries: - vsf
The text was updated successfully, but these errors were encountered: