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
2 changed files with 2 additions and 1 deletions

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,