Skip to content
Discussion options

You must be logged in to vote

Hello @SiKi02 I'm going to suppose you are using LInux/Mac, this happens when the node_modules are no added to your path so please do the following.

  1. Please install NPM trough NVM, Here is how.
  2. the error persists add this commands to your bash_profile or .bashrc file
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
  1. Be sure to install yarn using global statement:

npm i -g yarn

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@SiKi02
Comment options

Comment options

You must be logged in to vote
1 reply
@SiKi02
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants