Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helper text for flow emulator start is confusing if command is accidentally run from the wrong directory #1789

Closed
briandoyle81 opened this issue Oct 15, 2024 · 0 comments · Fixed by #1835
Assignees
Labels
Improvement Technical work without new features, refactoring, improving tests

Comments

@briandoyle81
Copy link

briandoyle81 commented Oct 15, 2024

Instructions

Please fill out the template below to the best of your ability.

Issue To Be Solved

If flow emulator start is run in a directory that does not contain either emulator-account.pkey or flow.json (I'm not sure which, or both), you receive the following message, suggesting there are further steps to run the emulator:

🙏 Configuration is missing, initialize it with: 'flow init' and then rerun this command.

Following these instructions creates a new project in the current directory, which feels unexpected.

(Optional): Suggest A Solution

Recommend updating the helper text to:

🙏 Configuration (flow.json) is missing, are you in the correct directory?  If you are trying to create a new project, initialize it with `flow init` and then rerun this command.
@briandoyle81 briandoyle81 added Feature A new user feature or a new package API Improvement Technical work without new features, refactoring, improving tests labels Oct 15, 2024
@briandoyle81 briandoyle81 removed the Feature A new user feature or a new package API label Oct 15, 2024
@chasefleming chasefleming self-assigned this Nov 15, 2024
@chasefleming chasefleming moved this to 🔖 Ready for Pickup in 🌊 Flow 4D Nov 15, 2024
@chasefleming chasefleming moved this from 🔖 Ready for Pickup to 🏗 In Progress in 🌊 Flow 4D Nov 18, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In Progress to ✅ Done in 🌊 Flow 4D Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Technical work without new features, refactoring, improving tests
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants