Skip to content

Commit

Permalink
try to run npm ci instead on npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelh1983 committed Oct 16, 2024
1 parent 893463c commit 8d253f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tspci/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ const run = async () => {
// run npm install in destination folder
if (args.indexOf("--no-install") === -1) {
console.log(chalk.green("📦 Installing dependencies"));
execSync("npm install", { cwd: destinationFolder, stdio: [0, 1, 2] });
execSync("npm ci", { cwd: destinationFolder, stdio: [0, 1, 2] });
console.log(chalk.green(`📦 Done!`));
console.log(chalk.blueBright(`Navigate to ${destinationFolder} or open this folder (e.g. with vscode).`));
console.log(chalk.blueBright(`Start the dev server with: npm run dev`));
Expand Down

0 comments on commit 8d253f4

Please sign in to comment.