Use yarn instead of npm

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-07-14 10:04:52 +09:00
parent 6e042ca344
commit b3e5198f23
No known key found for this signature in database
GPG key ID: 5388F56C75B677A1
4 changed files with 8 additions and 8 deletions

View file

@ -50,7 +50,7 @@ Please install and setup these softwares:
5. Install misskey dependencies.
`npm install`
`npx yarn install`
*4.* Configure Misskey
----------------------------------------------------------------
@ -130,7 +130,7 @@ You can check if the service is running with `systemctl status misskey`.
### How to update your Misskey server to the latest version
1. `git checkout master`
2. `git pull`
3. `npm install`
3. `npx yarn install` or `yarn install`
4. `NODE_ENV=production npm run build`
5. `npm run migrate`
6. Restart your Misskey process to apply changes
@ -138,7 +138,7 @@ You can check if the service is running with `systemctl status misskey`.
If you encounter any problems with updating, please try the following:
1. `npm run clean` or `npm run cleanall`
2. Retry update (Don't forget `npm i`)
2. Retry update (Don't forget `npx yarn install` or `yarn install`)
----------------------------------------------------------------