Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Can't install yarn or gulp via npm


I have npm version 10.2.3. I tried running the following commands:

npm install --global yarn
npm install --global gulp-cli

But when I check the versions to see if yarn or gulp has been installed, I get:

zsh: command not found: yarn
zsh: command not found: gulp

Not sure what I'm doing wrong. (P.S. I have a macbook. I have installed the latest version of Nodejs. And, I am running these commands from within the tools/ directory of my chosen theme, which is demo#23.)


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


You can check Node.js and npm. Ensure that Node.js and npm are installed correctly by running the following commands in your terminal basketball stars



I'm confused. This doesn't help at all.



I figured it out. My yarn binary was not being located by my shell properly. I had to add the following line to my ~/.zshrc file, replacing <npm-global-path> with the actual path:

export PATH="<npm-global-path>/bin:$PATH"



Glad you have solved it! Sorry for the delay in responding. If you have any more questions, feel free to ask for assistance.



<p><br>A silver metallic corset dress exudes futuristic glamour, sculpting the figure with its structured bodice and shimmering fabric. silver metallic corset dress</p>



Please try doing the opposite as instructed to see if it works io games


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(