flow deploy parsing error does not give enough context
Open
Nobody has claimed this yet.
Feedback
Improvement
- Dominant language
- Go
- Stars
- 209
- Forks
- 87
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Description
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 -vusing 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with flow deploy -n emulator after checking out flow-nft on the standard-v2 branch and running the 1.8.0 emulator. Trace the deploy parsing error and make the reported error include the file that failed to parse; done means the filename appears alongside the existing line and column details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100