-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
T-bugType: bugType: bug
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (06a17bf 2023-08-19T00:24:01.238378000Z)
What command(s) is the bug in?
forge init
Operating System
macOS (Apple Silicon)
Describe the bug
Forge reports an error when creating a new project without a directory existing
$ forge init -t sambacha/zen-foundry-template foundry-vendor-test
Initializing ~/foundry-vendor-test from https://github.com/sambacha/zen-foundry-template...
Cloning into '~/foundry-vendor-test'...
remote: Enumerating objects: 281, done.
remote: Counting objects: 100% (158/158), done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 281 (delta 87), reused 127 (delta 67), pack-reused 123
Receiving objects: 100% (281/281), 76.58 KiB | 1.70 MiB/s, done.
Resolving deltas: 100% (130/130), done.
Error:
No such file or directory (os error 2)However...
$ tree foundry-vendor-test/
foundry-vendor-test/
├── README.md
├── dprint.json
├── foundry.toml
├── justfile
├── package.json
├── scripts
│ ├── IAddressResolver.sol
│ ├── common.sh
│ ├── contract-size.sh
│ ├── deploy-production.sh
│ ├── deploy.sh
│ ├── estimate-gas.sh
│ ├── helper-config.sh
│ ├── run-temp-testnet.sh
│ ├── test-deploy.sh
│ └── verify-deployment.sh
├── src
│ └── PhonyUser.sol
└── test
├── D.lib.sol
├── D.test.sh
├── Echidna.t.sol
└── lib
├── ds-assert.sol
└── ds-test.sol
5 directories, 21 filesMetadata
Metadata
Assignees
Labels
T-bugType: bugType: bug
Type
Projects
Status
Done