OpenZeppelin / solidity-docgen

Documentation generator for Solidity projects
MIT License
452 stars 118 forks source link

command not found: solidity-docgen #429

Closed maxdesalle closed 1 year ago

maxdesalle commented 1 year ago

After executing the npm install solidity-docgen command, the npx solidity-docgen returns command not found: solidity-docgen.

Interestingly, the solidity-docgen executable is nowhere to be found in the node_modules/.bin/ folder after executing the npm install solidity-docgen command.

Unfortunately, related issues like #8 and #105 don't seem to offer a fix for this particular problem.

frangio commented 1 year ago

The new version of solidity-docgen isn't used like this. It's mainly a Hardhat plugin, you have to set it up in your Hardhat config and run with hardhat docgen.