Skip to content

Commit

Permalink
Merge pull request #64 from golemfactory/feature/JST-500/Create-new-p…
Browse files Browse the repository at this point in the history
…roject-during-build

fix: fix dependency installation - version bump
  • Loading branch information
pgrzy-golem authored Oct 20, 2023
2 parents fa4493f + 14b4cfd commit 1959c86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/new/new.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function installDependencies(options: NewOptions, projectPath: string) {
const pkg = getPackageManager();
const args = pkg.name === "yarn" ? [] : ["install"];

// `shell: true` is required by Windows to run npm.
const result = spawnSync(pkg.name, args, { cwd: projectPath, stdio: "inherit", shell: true });

if (result.error) {
Expand Down

0 comments on commit 1959c86

Please sign in to comment.