I am studying the tutorial on OpenZeppelin.
https://docs.openzeppelin.com/learn/deploying-and-interacting
I just typed the command
npx hardhat run --network localhost scripts/deploy.js
I get the following error
Error HH404: File @openzeppelin/contracts/accsess/Ownable.sol, imported from contracts/Box.sol, not found.
Please advise and thank you.
The code I wrote is shown here.
Hey @kintoki
did you install the openzeppelin package from npm?
Yes,Type the following command
$ npm install @openzeppelin/contracts
You misspelled access in the import
1 Like
kintoki
#5
The spelling seems to be correct.
I used this as a reference.
(https://www.npmjs.com/package/@openzeppelin/contracts)
thank you,
No I mean the import line in the contract
Thank you.It's clear now. 