openzeppelin file not importing #1780
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Try adding this one:
|
Beta Was this translation helpful? Give feedback.
-
Hello @panditdhamdhere, The file's destination might have changed in the version of the library you have installed now, so I suggest you search for the file manually and get the file's location. With that You can either do the native importing, where you explicitly specify the path, or you can use the location to create a remapping that would work appropriately. You can search for files on Mac with |
Beta Was this translation helpful? Give feedback.
-
Adding the line |
Beta Was this translation helpful? Give feedback.
Adding the line
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
to theremappings.txt
file solved the problem for me.