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 c56e45ecef
commit 95a3565d1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: use correct order of attachments on notes @Johann150
- Server: prevent crash when processing certain PNGs @syuilo - Server: prevent crash when processing certain PNGs @syuilo
- Server: Fix unable to generate video thumbnails @mei23 - Server: Fix unable to generate video thumbnails @mei23
- Server: Fix `Cannot find module` issue @mei23
## 12.110.1 (2022/04/23) ## 12.110.1 (2022/04/23)

View file

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