You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error has occurred:
Failed to compile.
Error: Error executing command "cat ../file.txt". Exited with error: cat: ../file.txt: No such file or directory
I expected this:
No response
Is there a workaround?
No response
Anything else?
Because async functions are called normally (without await) they continue to run in the background and the following lines of code are called.
I think in this case it is better to hide async functions from a preflight block.
Wing Version
0.62.3
Node.js Version
v20.11.0
Platform(s)
MacOS
Community Notes
Please vote by adding a 👍 reaction to the issue to help us prioritize.
If you are interested to work on this issue, please leave a comment.
The text was updated successfully, but these errors were encountered:
Ideally it would be nice to support these util functions in preflight as well - we just need to have separate preflight and inflight implementations of each relevant method. But flagging them as inflight-only for now sounds like a good solution to prevent the awkward error.
I tried this:
This happened:
I expected this:
No response
Is there a workaround?
No response
Anything else?
Because async functions are called normally (without
await
) they continue to run in the background and the following lines of code are called.I think in this case it is better to hide async functions from a preflight block.
Wing Version
0.62.3
Node.js Version
v20.11.0
Platform(s)
MacOS
Community Notes
The text was updated successfully, but these errors were encountered: