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

A confusing error message is shown if devvit.yaml is accidentally emptied and devvit upload is run #85

Open
fsvreddit opened this issue Aug 20, 2024 · 0 comments
Labels
bug synced This issue has been added to our internal tracker

Comments

@fsvreddit
Copy link
Contributor

If the devvit.yaml file has accidentally been emptied, devvit upload doesn't handle this elegantly with a useful user-facing error message.

PS C:\code\reddithelp-bot> devvit upload
Checking for updates...... ✅
    TypeError: Cannot read properties of undefined (reading 'packageManager')

It would be useful if the error message was more descriptive.

@pl00h pl00h added bug synced This issue has been added to our internal tracker labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug synced This issue has been added to our internal tracker
Development

No branches or pull requests

2 participants