better error message for compiling unknown platforms #5234
Labels
🐛 bug
Something isn't working
⌨️ cli
CLI
good first issue
Good for newcomers
needs-discussion
Further discussion is needed prior to impl
👠 platforms
Issues relating to Wing Platform Providers
I tried this:
I wanted to test wing code the awscdk target, I didn't have it installed on my machine.
I ran:
wing test -t @winglang/platform-awscdk path-to-file
This happened:
I expected this:
Wing cli to display a friendly error such as "seems like "platform-name" isn't installed, try running
npm i -g <package name>
?"*I assume that the same error is displayed even for mistyped or unexisting platforms, please take that in account
@hasanaburayyan do you have an idea for a friendly error message to display?
Is there a workaround?
No response
Anything else?
Dear contributor, you are welcome to assign yourself to the task! before you start, please verify that you have the exact wording for the error message and that edge cases are all covered :)
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Community Notes
The text was updated successfully, but these errors were encountered: