Doubts about the official website tutorial #5207
Replies: 1 comment
-
Because npm is usually installed alongside with node.js, while yarn is installed manually. When Hexo finds that yarn is installed, it guesses that you prefer yarn so it uses yarn. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After I run hexo init, the project is directly installed dependencies, no need to run npm install, right? There are also project dependencies installed. There is a yarn.lock file in the root directory. Obviously, the project uses yarn. Why do you guide users to use npm to install it? Why not yarn?(forgive my bad english)
Beta Was this translation helpful? Give feedback.
All reactions