# Openzeppelin contracts not found when truffle compile

**URL:** <https://forum.openzeppelin.com/t/openzeppelin-contracts-not-found-when-truffle-compile/19029>\
**Category:** Support\
**Tags:** erc721\
**Created:** [November 15, 2021, 10:47pm UTC](https://forum.openzeppelin.com/t/openzeppelin-contracts-not-found-when-truffle-compile/19029 "2021-11-15T22:47:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ched](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@Ched](https://forum.openzeppelin.com/u/Ched)\
**Post date:** [November 15, 2021, 10:47pm UTC](https://forum.openzeppelin.com/t/openzeppelin-contracts-not-found-when-truffle-compile/19029/1 "2021-11-15T22:47:42Z")

</div>

Hello.  
Always do the same way:  
truffle init  
npm init -y  
npm install @openzeppelin/contracts

Contracts in node\_modules/ exists.  
All looks like always, but when i try to truffle compile:

ParserError: Source "@openzeppelin/token/ERC721/ERC721.sol" not found

My import:  
import "@openzeppelin/token/ERC721/ERC721.sol";

I'm trying to change path manualy to this contracts but have the same error.  
Reinstall all project - same.  
Install solc for this 0.8.0, specify truffle config - nothing.

Never use something 0.8.0+, any problems with it, or what?

---

<div class="post-metadata">

**Author:** ![Amxx](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/amxx/32/668_2.png) [@Amxx](https://forum.openzeppelin.com/u/Amxx)\
**Post date:** [November 17, 2021, 1:31pm UTC](https://forum.openzeppelin.com/t/openzeppelin-contracts-not-found-when-truffle-compile/19029/2 "2021-11-17T13:31:37Z")

</div>

Hello @Ched

The correct import path is

```auto
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

```

---

<div class="post-metadata">

**Author:** ![Ched](https://avatars.discourse-cdn.com/v4/letter/c/b5e925/32.png) [@Ched](https://forum.openzeppelin.com/u/Ched)\
**Post date:** [November 17, 2021, 5:26pm UTC](https://forum.openzeppelin.com/t/openzeppelin-contracts-not-found-when-truffle-compile/19029/3 "2021-11-17T17:26:45Z")

</div>

Thank you, missed out 🙂
