summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2022-05-31 17:55:07 +0900
committerGitHub <noreply@github.com>2022-05-31 17:55:07 +0900
commit95a3565d1c412983c0380a6cb3e4588c313d081a (patch)
tree1bff1400aec329e6ba834aba633c7fdd68a8232e /scripts
parentfix: always remove completed tasks (#8771) (diff)
downloadsharkey-95a3565d1c412983c0380a6cb3e4588c313d081a.tar.gz
sharkey-95a3565d1c412983c0380a6cb3e4588c313d081a.tar.bz2
sharkey-95a3565d1c412983c0380a6cb3e4588c313d081a.zip
Fix `Cannot find module` issue (#8770)
* Add --force to yarn in the installation script * CHAGELOG
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install-packages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-packages.js b/scripts/install-packages.js
index bc8e016a3c..d1dea3ebe5 100644
--- a/scripts/install-packages.js
+++ b/scripts/install-packages.js
@@ -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,