---
title: "Comment by Guido Giuntoli on \"Adding Dependencies to your Contracts in Foundry\" | Hashnode"
description: "In my case works but with a slight modification of the path: import &quot;openzeppelin-contracts/token/ERC20/ERC20.sol&quot; ; The path you mention: import &quo"
url: "https://hashnode.com/posts/adding-dependencies-to-your-contracts-in-foundry/6276b351dc122f5a4f21e793/comment/633805dbfa20fa4bc8e56f97"
---

[Discussion](https://hashnode.com/posts/adding-dependencies-to-your-contracts-in-foundry/6276b351dc122f5a4f21e793)

Comment [Adding Dependencies to your Contracts in Foundry](https://hashnode.com/posts/adding-dependencies-to-your-contracts-in-foundry/6276b351dc122f5a4f21e793)

[Guido Giuntoli](https://hashnode.com/@gagiuntoli)

[Oct 1, 2022](https://hashnode.com/posts/adding-dependencies-to-your-contracts-in-foundry/6276b351dc122f5a4f21e793/comment/633805dbfa20fa4bc8e56f97)

In my case works but with a slight modification of the path:

```
import "openzeppelin-contracts/token/ERC20/ERC20.sol";
```

The path you mention:

```
import "openzeppelin-contracts/contracts/token/ERC721/ERC721.sol";
```

throws me this error:

```
Error: 
Compiler run failed
error[6275]: ParserError: Source "lib/openzeppelin-contracts/contracts/contracts/token/ERC20/ERC20.sol" not found: File not found.
```
