I have npm i "openzeppelin-solidity": "1.12.0"
still error

also imported it in my contract

I think contract name you are trying to inherit is named as ERC721 . Try changing it and see if it works.
Hi @pranavdaa! Please share the error that Truffle is printing.
Is the command you ran npm i "openzeppelin-solidity": "1.12.0"? If you want to use OpenZeppelin v1 you should run npm i [email protected]. However, I would strongly recommend installing OpenZeppelin v2 and using Solidity 0.4.
@frangio this worked for me thanks fot the help.
You're welcome! Also check out our forum to ask about any new problems you run into.
Most helpful comment
Hi @pranavdaa! Please share the error that Truffle is printing.
Is the command you ran
npm i "openzeppelin-solidity": "1.12.0"? If you want to use OpenZeppelin v1 you should runnpm i [email protected]. However, I would strongly recommend installing OpenZeppelin v2 and using Solidity 0.4.