flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Deploying a contract with a relative path flow.json

Open bjartek opened this issue 2 years ago • 1 comments

I am trying to use relative flow json with flowkit in flow-nft repo. See here https://github.com/bjartek/flow-nft-overflow/pull/2/files#diff-6e601323579d5bffbf021d887e1980721fe1a519d646ae8979d1e32a00f95cc1

I cannot get this to work with deploying new contracts

	            	import from MetadataViews could not be found: ./utility/FungibleToken.cdc, make sure import path is correct, and the contract is added to deployments or has an alias
        	            	could not deploy contracts

bjartek avatar Apr 04 '23 20:04 bjartek

Thank you for reporting, will look into this.

devbugging avatar Apr 05 '23 10:04 devbugging