Fix Cannot find module issue (#8770)

* Add --force to yarn in the installation script

* CHAGELOG
This commit is contained in:
MeiMei 2022-05-31 17:55:07 +09:00 committed by GitHub
parent 8e296b2398
commit 857b9cab2b
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ You should also include the user name that made the change.
- Server: use correct order of attachments on notes @Johann150
- Server: prevent crash when processing certain PNGs @syuilo
- Server: Fix unable to generate video thumbnails @mei23
- Server: Fix `Cannot find module` issue @mei23
## 12.110.1 (2022/04/23)

View File

@ -3,7 +3,7 @@ const execa = require('execa');
(async () => {
console.log('installing dependencies of packages/backend ...');
await execa('yarn', ['install'], {
await execa('yarn', ['--force', 'install'], {
cwd: __dirname + '/../packages/backend',
stdout: process.stdout,
stderr: process.stderr,