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
Top comments (0)