# Export metadata with SOLC when using imports **Published by:** [N00b21337](https://paragraph.com/@n00b21337/) **Published on:** 2023-10-31 **URL:** https://paragraph.com/@n00b21337/export-metadata-with-solc-when-using-imports ## Content Have been getting errors like this one when I try to export metadataError: Source "@openzeppelin/contracts/security/Pausable.sol" not found: File not found. Searched the following locations: "/home/marko/Work/swarm/swarm-si/.". --> src/PostageStamp.sol:5:1: | 5 | import "@openzeppelin/contracts/security/Pausable.sol"; to solve this you need to include a path to node modules like below and then you will get proper output. Bare in mind to use a proper solidity version of the contractssolc --base-path . --include-path ./node_modules --metadata src/PostageStamp.sol > output.json ## Publication Information - [N00b21337](https://paragraph.com/@n00b21337/): Publication homepage - [All Posts](https://paragraph.com/@n00b21337/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@n00b21337): Subscribe to updates - [Twitter](https://twitter.com/0xCardinalError): Follow on Twitter