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

flow deploy parsing error does not give enough context

Open bjartek opened this issue 1 year ago • 1 comments

Problem

Trying to deploy using flow deploy if there are errors in one file does not show what file the error is in

Steps to Reproduce

  • checkout flow-nft in standard-v2 branch
  • start emulator flow emulator -v using 1.8.0 of flow-cli
  • deploy flow deploy -n emulator
❌ Command Error: Parsing failed:
error: unexpected identifier
  --> :50:28
   |
50 |     access(all) entitlement Withdrawable
   |             ^

Acceptance Criteria

The error shows the file that it fails to parse.

Context

Upgrading .find to stable cadence.

bjartek avatar Dec 18 '23 10:12 bjartek

This sounds helpful. Thanks for adding this issue.

chasefleming avatar Dec 18 '23 22:12 chasefleming