mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Force-install when using gulp dist-install
(issue 15435)
When installing the PDF.js project itself it's currently necessary to use `--force` in order for all packages to install correctly, see issue 15429, hence the same is also necessary when using the `gulp dist-install` command for local development/testing.
This commit is contained in:
parent
b135dadb17
commit
bf57a8f660
1 changed files with 1 additions and 1 deletions
|
@ -2345,7 +2345,7 @@ gulp.task(
|
|||
opts.cwd = installPath;
|
||||
distPath = path.relative(installPath, distPath);
|
||||
}
|
||||
safeSpawnSync("npm", ["install", distPath], opts);
|
||||
safeSpawnSync("npm", ["install", "--force", distPath], opts);
|
||||
done();
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue