diff --git a/bin/cli.mjs b/bin/cli.mjs index 7903fe2..c84fcc5 100755 --- a/bin/cli.mjs +++ b/bin/cli.mjs @@ -160,9 +160,11 @@ const installPackage = async () => { ); await exec( - `npm run install --dojo-version=${dojo_version} --legacy-peer-deps && npm run initialize-dojo` + `npm run install --dojo-version=${dojo_version} --legacy-peer-deps` ); + await exec("npm run initialize-dojo"); + fs.rmSync(path.join(projectPath, "/dojo-starter"), { recursive: true, force: true, diff --git a/scripts/install_tools.sh b/scripts/install_tools.sh index 7ca6b91..2d47c32 100644 --- a/scripts/install_tools.sh +++ b/scripts/install_tools.sh @@ -61,7 +61,7 @@ install_dojo() { echo "Dojo is already installed." else echo "Installing Dojo latest..." - dojoup --version $version + dojoup fi fi }