We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
package-lock.json
1 parent 4b7ba1a commit 89c3894Copy full SHA for 89c3894
scripts/version.js
@@ -79,6 +79,19 @@ async function main() {
79
encoding: 'utf-8',
80
shell: platform === 'win32' ? true : false,
81
});
82
+ console.error('Running npm install again to update the package-lock.json:');
83
+ const installArgs_ = [
84
+ 'install',
85
+ '--ignore-scripts',
86
+ '--silent',
87
+ '--package-lock-only'
88
+ ];
89
+ childProcess.execFileSync('npm', installArgs_, {
90
+ stdio: ['inherit', 'inherit', 'inherit'],
91
+ windowsHide: true,
92
+ encoding: 'utf-8',
93
+ shell: platform === 'win32' ? true : false,
94
+ });
95
}
96
97
/* eslint-enable no-console */
0 commit comments