Skip to content

Commit 32c2ff6

Browse files
authored
[CLI] create-stylus fixes (#8724)
1 parent bef65c8 commit 32c2ff6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/funny-cars-end.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
[CLI] create-stylus fixes

packages/thirdweb/src/cli/commands/stylus/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function createStylusProject() {
2424

2525
// Step 2: Install stylus etc.
2626
spinner.start("Installing Stylus...");
27-
const install = spawnSync("cargo", ["install", "--force", "cargo-stylus"], {
27+
const install = spawnSync("cargo", ["install", "cargo-stylus"], {
2828
stdio: "inherit",
2929
});
3030
if (install.status !== 0) {
@@ -33,7 +33,7 @@ export async function createStylusProject() {
3333
}
3434
spinner.succeed("Stylus installed.");
3535

36-
spawnSync("rustup", ["default", "1.87"], {
36+
spawnSync("rustup", ["default", "stable"], {
3737
stdio: "inherit",
3838
});
3939
spawnSync("rustup", ["target", "add", "wasm32-unknown-unknown"], {

0 commit comments

Comments
 (0)