Fix Cannot find module
issue (#8770)
* Add --force to yarn in the installation script * CHAGELOG
This commit is contained in:
parent
8e296b2398
commit
857b9cab2b
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue