onflow / onflow/flow-cli

Deploying a contract with a relative path flow.json

Open
#961 1 comment 0 reactions 1 assignee View on GitHub

@devbugging is already working on this.

Since Apr 4, 2023.

Bug
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.