Unable to Install 4.0 Smart Contracts

npm install @openzeppelin/contracts IS NOT WORKING, as it does not deploy 4.0 Smart Contracts on the node_modules directory.

After executing three times the npm install @openzeppelin/contracts command , I continue to see the old file structure and the old files.

Please advise.

:computer: Environment

Windows 7


Information from https://blog.openzeppelin.com/openzeppelin-contracts-4-0/

Installing OpenZeppelin 4.0 Smart Contracts


View of the File System after implementing

:1234: Code to reproduce

1 Like

That is strange.

Try uninstalling npm uninstall @openzeppelin/contracts and then reinstall.

I think I already did that, but I will try it again and share screenshots

1 Like

Step 1)


File Directory, so far so good).

Step 2)


File Directory IT WORKED!

Thanks a lot. It was resolved with the basics. :roll_eyes: :see_no_evil:

1 Like