An Interest In:
Web News this Week
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
- April 10, 2024
- April 9, 2024
March 31, 2022 08:55 am GMT
Original Link: https://dev.to/suulola/error-fix-source-openzeppelincontractstokenerc721erc721sol-not-found-file-import-callback-not-supported-5ccb
Error Fix: Source "@openzeppelin/contracts/token/ERC721/ERC721.sol" not found: File import callback not supported
If you've tried to work with @openzeppelin/contracts on VS Code, you might come across this error
The issue above is not with your code but with a particular VS Code extension - Solidity extension by Juan Blanco.
The latest version of v0.0.137 shows that error. To correct this
- Go to Extensions and search for Solidity
- You should see something like this
- Click on the dropdown beside the Uninstall button and select Install Another Version
Once the installation is done, you will be required to reload VS Code and the error should be gone at this point
Viola
The issue should be gone by now.
Hopefully, this issue is fixed in the next version release of v0.0.138
Original Link: https://dev.to/suulola/error-fix-source-openzeppelincontractstokenerc721erc721sol-not-found-file-import-callback-not-supported-5ccb
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To