Followed the installation guide and ran the command:
npx flatten-sol contracts/myNFT.sol
However, I got this as an output:
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":40,"msg":"!!! contracts/token/ERC721/ERC721.sol SOURCE FILE WAS NOT FOUND. I'M TRYING TO FIND IT RECURSIVELY !!!","time":"2022-02-11T06:44:02.647Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"contracts/token/ERC721/ERC721.sol SOURCE FILE WAS FOUND","time":"2022-02-11T06:44:02.647Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":40,"msg":"!!! contracts/token/ERC721/extensions/ERC721Enumerable.sol SOURCE FILE WAS NOT FOUND. I'M TRYING TO FIND IT RECURSIVELY !!!","time":"2022-02-11T06:44:02.647Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"contracts/token/ERC721/extensions/ERC721Enumerable.sol SOURCE FILE WAS FOUND","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":40,"msg":"!!! contracts/token/ERC721/extensions/ERC721URIStorage.sol SOURCE FILE WAS NOT FOUND. I'M TRYING TO FIND IT RECURSIVELY !!!","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"contracts/token/ERC721/extensions/ERC721URIStorage.sol SOURCE FILE WAS FOUND","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":40,"msg":"!!! contracts/access/Ownable.sol SOURCE FILE WAS NOT FOUND. I'M TRYING TO FIND IT RECURSIVELY !!!","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"contracts/access/Ownable.sol SOURCE FILE WAS FOUND","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":40,"msg":"!!! contracts/utils/math/SafeMath.sol SOURCE FILE WAS NOT FOUND. I'M TRYING TO FIND IT RECURSIVELY !!!","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"contracts/utils/math/SafeMath.sol SOURCE FILE WAS FOUND","time":"2022-02-11T06:44:02.648Z","v":0}
{"name":"solidity-flattener","hostname":"Zaryabs-World.local","pid":7734,"level":30,"msg":"Success! Flat file LionNFT_flat.sol is generated to ./out directory","time":"2022-02-11T06:44:02.651Z","v":0}
Would like to know if its not working at all or is there something that I am doing wrong.
Followed the installation guide and ran the command:
npx flatten-sol contracts/myNFT.sol
However, I got this as an output:
Would like to know if its not working at all or is there something that I am doing wrong.