Closed liliankasem closed 3 years ago
One note since I'm not sure by the issue title - are you using the GitHub Codespaces extension (rather than Visual Studio Codespaces)? Not sure if the problem relates to that specifically, but the GitHub Codespaces extension is the one we want to use.
Yes, GitHub codespaces extension and codespaces in the browser too
@liliankasem The error message "func not found" means that the system is not able to find the "function core tools" on your machine. Have you installed the Azure Functions core tools on your machine? Here is the list of prerequisites required for Logic App Preview: https://docs.microsoft.com/en-us/azure/logic-apps/create-stateful-stateless-workflows-visual-studio-code#tools
Yup, I still get the same issue with func tools installed (sorry, old screenshot :D ). We think this is the issue:
Yeah changing the Draft.min.js
file in the dist
of the extension to draft.min.js
got it working. The PR basically does that. We did see some strange behavior around port where occasionally port 8000 was forwarded to a random 3XXXX port number instead of 8000... but then reopening the designer seemed to fix that. @bamurtaugh, I'm not sure if that's a vscode remote issue or not... @liliankasem could hit that like 50% of the time, me maybe 30% of the time.
To clarify - the remote explorer read something like 8000 -> 127.0.0.1:3XXXX
(instead of 8000 -> 127.0.0.1:8000
as expected) during those runs? Sometimes I still face issues where I'm notified about an incorrect/unexpected 3XXXX port, i.e. a debugging port, but my expected port is still available in the remote explorer and browser, so just making sure I'm understanding correctly.
Sounds similar to https://github.com/microsoft/vssaas-planning/issues/1788 (and specifically point 2 here https://github.com/microsoft/vssaas-planning/issues/1788#issuecomment-743174588).
Yeah I think you're right @bamurtaugh... thought it doesn't exactly explain why the webview doesn't render when the notification says the 3XXXX
(correlation not causation)...
I think the issues are independent - it sounds like webview/rendering issues have to do with how the Logic Apps extension works in Codespaces, but I wouldn't think that's related to ports, especially since we're seeing the ports issue in non-Logic Apps or webview-related issues (unless you're saying the webview only doesn't render when the notification incorrectly reads 3XXX
, in which case that'd be interesting).
unless you're saying the webview only doesn't render when the notification incorrectly reads 3XXX, in which case that'd be interesting
Right that's what we are seeing... though I don't know enough to say it's vscode's fault.
Oh interesting! Hmmm - sounds like it'd be worth filing an issue in https://github.com/microsoft/vssaas-planning/issues, or commenting on https://github.com/microsoft/vssaas-planning/issues/1788 to explain the interesting pivot here and get some perspectives/visibility from Codespaces & VS Code folks.
I merged the fix for the Draft script filename case. It will be included in the next extension release (0.0.9).
Closing this now that 0.0.9 is released. Let us know if any follow-up is required for the port issues.
EDIT: 0.0.9 is out now. 0.0.10 is the version being tested this week and to be released next week.
@joechung-msft I still see 0.0.8 here: https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurelogicapps
not sure if that's expected
0.0.9 is currently in the process of being tested and released. ETA is next week.
EDIT: 0.0.9 is out now. 0.0.10 is the version being tested this week and to be released next week.
Hello! I am unable to use the designer view using the new VS Code extension . The error I get says
Workflow design time could not be started
, and when I click onView output
, I just see a blank page.I made sure to use a real storage account connection string inside the
local.settings.json
file, so I'm pretty sure that is not the issue.Here's the repo I'm using if you would like to test it out yourself.
@TylerLeonhardt: any thoughts on what the issue could be?