-
Notifications
You must be signed in to change notification settings - Fork 374
fix: check for node on app start on users machine and notify if not installed #6578
Conversation
- Adding node modal on app start if node is not installed
|
OPEN QUESTIONS:
|
Yeah, I wasn't sure what would be standard practice here. If we let it stay open, your suggestion is probably best. We don't want to have to throw up an error dialog every time someone attempts to use a feature that isn't going to work or be surprised when it crashes or something. Maybe @cwhitten can weigh in--would you expect the app to just close if you didn't install node, or would you expect to still use it, just with a banner as @pavolum suggests? |
|
I think we should not allow user to continue, if node is not found. Also, i'm not sure the approach to detect node. If i understand correctly, this is for electron, right? because if it's web version, without node, the server won't even run. Even for electron, the underlying there is a node there to start server. So it's bit weird to detect node using node. From a less diverged code path POV, I would prefer a simpler approach, like adding some scripts in electron startup and abort when no node is detected. |
My two cents would be to let users click around Composer, but not let them create new bots. |
* wenyluo/skill: (30 commits) Force refresh of fluent List via slice (#6810) fix: Telemetry for Orchestrator R13 (#6689) fix: Fixed broken tenant ID on save (#6809) feat: Add devops and app insights to get started (#6790) fix: check for node on app start on users machine and notify if not installed (#6578) feat: Expose default search query, pre-release flag and type for each feed. (#6781) fix: do not provision an endpoint key (#6791) remove folder if project fails to create (#6793) Removed preview from publish type names (#6795) fix: Fixing deep link for QNA and Luis (#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (#6788) Added workerRuntime value (#6784) fix: apply publishing profile to new runtime during publish (#6719) fix: during publish, do not copy project into a build folder (#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (#6697) polish UI remove trigger when remove skill, fix bugs fix orchestractor modal not show fix skill not added after add remote skill remove allowedCaller when remove skill ...
* main: fix: make composer support https proxy (#6766) Force refresh of fluent List via slice (#6810) fix: Telemetry for Orchestrator R13 (#6689) fix: Fixed broken tenant ID on save (#6809) feat: Add devops and app insights to get started (#6790) fix: check for node on app start on users machine and notify if not installed (#6578) feat: Expose default search query, pre-release flag and type for each feed. (#6781) fix: do not provision an endpoint key (#6791) remove folder if project fails to create (#6793) Removed preview from publish type names (#6795) fix: Fixing deep link for QNA and Luis (#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (#6788) Added workerRuntime value (#6784) fix: apply publishing profile to new runtime during publish (#6719) fix: during publish, do not copy project into a build folder (#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (#6697)
* wenyluo/skill: (30 commits) Force refresh of fluent List via slice (microsoft#6810) fix: Telemetry for Orchestrator R13 (microsoft#6689) fix: Fixed broken tenant ID on save (microsoft#6809) feat: Add devops and app insights to get started (microsoft#6790) fix: check for node on app start on users machine and notify if not installed (microsoft#6578) feat: Expose default search query, pre-release flag and type for each feed. (microsoft#6781) fix: do not provision an endpoint key (microsoft#6791) remove folder if project fails to create (microsoft#6793) Removed preview from publish type names (microsoft#6795) fix: Fixing deep link for QNA and Luis (microsoft#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (microsoft#6788) Added workerRuntime value (microsoft#6784) fix: apply publishing profile to new runtime during publish (microsoft#6719) fix: during publish, do not copy project into a build folder (microsoft#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (microsoft#6697) polish UI remove trigger when remove skill, fix bugs fix orchestractor modal not show fix skill not added after add remote skill remove allowedCaller when remove skill ...
* main: fix: make composer support https proxy (microsoft#6766) Force refresh of fluent List via slice (microsoft#6810) fix: Telemetry for Orchestrator R13 (microsoft#6689) fix: Fixed broken tenant ID on save (microsoft#6809) feat: Add devops and app insights to get started (microsoft#6790) fix: check for node on app start on users machine and notify if not installed (microsoft#6578) feat: Expose default search query, pre-release flag and type for each feed. (microsoft#6781) fix: do not provision an endpoint key (microsoft#6791) remove folder if project fails to create (microsoft#6793) Removed preview from publish type names (microsoft#6795) fix: Fixing deep link for QNA and Luis (microsoft#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (microsoft#6788) Added workerRuntime value (microsoft#6784) fix: apply publishing profile to new runtime during publish (microsoft#6719) fix: during publish, do not copy project into a build folder (microsoft#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (microsoft#6697)
* wenyluo/skill: (30 commits) Force refresh of fluent List via slice (#6810) fix: Telemetry for Orchestrator R13 (#6689) fix: Fixed broken tenant ID on save (#6809) feat: Add devops and app insights to get started (#6790) fix: check for node on app start on users machine and notify if not installed (#6578) feat: Expose default search query, pre-release flag and type for each feed. (#6781) fix: do not provision an endpoint key (#6791) remove folder if project fails to create (#6793) Removed preview from publish type names (#6795) fix: Fixing deep link for QNA and Luis (#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (#6788) Added workerRuntime value (#6784) fix: apply publishing profile to new runtime during publish (#6719) fix: during publish, do not copy project into a build folder (#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (#6697) polish UI remove trigger when remove skill, fix bugs fix orchestractor modal not show fix skill not added after add remote skill remove allowedCaller when remove skill ...
* main: fix: make composer support https proxy (#6766) Force refresh of fluent List via slice (#6810) fix: Telemetry for Orchestrator R13 (#6689) fix: Fixed broken tenant ID on save (#6809) feat: Add devops and app insights to get started (#6790) fix: check for node on app start on users machine and notify if not installed (#6578) feat: Expose default search query, pre-release flag and type for each feed. (#6781) fix: do not provision an endpoint key (#6791) remove folder if project fails to create (#6793) Removed preview from publish type names (#6795) fix: Fixing deep link for QNA and Luis (#6743) Make LUIS, QNA and Speech blocking modals so they cannot be dismiessed while active (#6788) Added workerRuntime value (#6784) fix: apply publishing profile to new runtime during publish (#6719) fix: during publish, do not copy project into a build folder (#6729) chore: Adapters: copy the 'type' passed in the adapter config to fully support adapter schemas (#6697)
…nstalled (microsoft#6578) * Adding modal for node detection on app start * - Adding server side checking of node - Adding node modal on app start if node is not installed * Moving node check to creation flow as opposed to app start * Add isElectron check for node modal Co-authored-by: Patrick Volum <pavolum@microsoft.com> Co-authored-by: Ben Brown <benbro@microsoft.com> Co-authored-by: Soroush <hatpick@gmail.com> Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Description
Adding server call that runs 'node -v' on the users machine. If the user does not have node the code catches the error and responds to the caller that node is not installed. If the user does have node it returns to the caller that node is installed along with he node version.
Added caller on app start to new server endpoint. If it returns that node is not installed it prompts the user with a modal on app start with a link to the node installation page.
Task Item
fixes #6097
Screenshots