onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 66 forks source link

Deploying a contract with a relative path flow.json #961

Open bjartek opened 1 year ago

bjartek commented 1 year ago

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
sideninja commented 1 year ago

Thank you for reporting, will look into this.