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

Bug: Launching server using runtime node failed. #1128

Open
2 of 5 tasks
UniMars opened this issue Apr 4, 2023 · 1 comment
Open
2 of 5 tasks

Bug: Launching server using runtime node failed. #1128

UniMars opened this issue Apr 4, 2023 · 1 comment
Labels
needs more info Awaiting response from reporter

Comments

@UniMars
Copy link

UniMars commented Apr 4, 2023

Describe the bug
i first install the plugin, then install the sqlite driver, it says "Launching server using runtime node failed.", then i install the mysql driver, it says "Launching server using runtime node failed."again.
the logs are:

[1680583995531] ERROR (ext): ERROR: Error loading plugin SQLite Plugin Launching server using runtime node failed., 'Launching server using runtime node failed.'
ns: "error-handler"
[1680583996548] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680583996548] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680583997486] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680583997956] INFO (ext): EXECUTING COMMAND => sqltools.showOutputChannel
[1680584040983] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584046079] INFO (ext): EXECUTING COMMAND => sqltools.newSqlFile
[1680584046110] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584046454] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584058210] INFO (ext): EXECUTING COMMAND => sqltools.openAddConnectionScreen
[1680584184556] INFO (ext): EXECUTING COMMAND => sqltools.openAddConnectionScreen
[1680584191607] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680584191607] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584191622] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584277692] INFO (ext): EXECUTING COMMAND => sqltools.openAddConnectionScreen
[1680584299719] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680584299719] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584299735] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584438338] INFO (ext): EXECUTING COMMAND => sqltools.openAddConnectionScreen
[1680584442431] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680584442431] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584442446] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584506016] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680584506016] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584506047] INFO (ext): EXECUTING COMMAND => sqltools.getConnections
[1680584529991] INFO (ext): EXECUTING COMMAND => sqltools.openAddConnectionScreen
[1680584551504] INFO (ext): registering MySQL/MariaDB Plugin (driver).
plugin: {
"extensionId": "mtxr.sqltools-driver-mysql",
"name": "MySQL/MariaDB Plugin",
"type": "driver"
}
[1680584551504] ERROR (ext): ERROR: Error loading plugin MySQL/MariaDB Plugin Launching server using runtime node failed., 'Launching server using runtime node failed.'
ns: "error-handler"
[1680584552522] INFO (ext): EXECUTING COMMAND => sqltools.refreshTree
[1680584552522] INFO (ext): Connection explorer changed. Will be updated.
ns: "conn-man:explorer"
[1680584556399] INFO (ext): EXECUTING COMMAND => sqltools.showOutputChannel

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'sqltools'panel
  2. Click on 'refresh'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • SQLTools Version v0.27.1
  • VS Code Version: 1.77.0
  • OS: Windows 11
  • Driver:
    • PostgreSQL/Redshift
    • MySQL/MariaDB
    • MSSQL/Azure
    • SQLite
    • Other? Which...
  • Database version: [e.g. MySQL v5.6, PostgreSQL vX...]

Additional context
Add any other context about the problem here.

@UniMars UniMars added the triage label Apr 4, 2023
@UniMars UniMars changed the title Launching server using runtime node failed. Bug: Launching server using runtime node failed. Apr 4, 2023
@gjsjohnmurray
Copy link
Collaborator

Does your settings.json file contain an entry for sqltools.useNodeRuntime? If yes, please comment it out by prefixing with //, save the change, restart VS Code and try your MySQL connection again.

@gjsjohnmurray gjsjohnmurray added needs more info Awaiting response from reporter and removed triage labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Awaiting response from reporter
Projects
None yet
Development

No branches or pull requests

2 participants