scarb icon indicating copy to clipboard operation
scarb copied to clipboard

Scarb throws an error while init

Open THenry14 opened this issue 6 months ago • 0 comments

Problem

From tg. When using scarb 2.7.0 and trying to init in an empty directory, there is an error

$ scarb init
✔ Which test runner do you want to set up? · Starknet Foundry (default)
✔ Which test runner do you want to set up? · Starknet Foundry (default)
error: destination `/Users/m/projects/tmp/wot` already exists
help: use `scarb init` to initialize the directory
[ERROR] Failed to initialize a new project: `scarb` exited with error
Created package.

It seems that the runner is being set up twice, but let's investigate it closer.

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version

2.7.0

THenry14 avatar Aug 05 '24 08:08 THenry14