Do you want to work on this issue?
You can request for a bounty in order to promote it!
the SQLTools language server crashed, SyntaxError: Unexpected token #1129
yadav-vikas posted onGitHub
Describe the bug
[1680593694397] INFO (ext): Connection explorer changed. Will be updated. ns: "conn-man:explorer" /home/sapat/.vscode/extensions/mtxr.sqltools-0.27.1/dist/languageserver.js:1 (()=>{var webpack_modules={797:(unused_webpack_module,exports)=>{"use strict";const internals_suspectRx=/"(?:|\u005[Ff])(?:|\u005[Ff])(?:p|\u0070)(?:r|\u0072)(?:o|\u006[Ff])(?:t|\u0074)(?:o|\u006[Ff])(?:|\u005[Ff])(?:|\u005[Ff])"\s*:/;exports.parse=function(text,...args){const firstOptions="object"==typeof args[0]&&args[0],reviver=args.length>1||!firstOptions?args[0]:void 0,options=args.length>1&&args[1]||firstOptions||{},obj=JSON.parse(text,reviver);return"ignore"===options.protoAction?obj:obj&&"object"==typeof obj&&text.match(internals_suspectRx)?(exports.scan(obj,options),obj):obj},exports.scan=function(obj,options={}){let next=[obj];for(;next.length;){const nodes=next;next=[];for(const node of nodes){if(Object.prototype.hasOwnProperty.call(node,"proto__")){if("remove"!==options.protoAction)throw new SyntaxError("Object contains forbidden prototype property");delete node.proto}for(const key in node){con
SyntaxError: Unexpected token ; at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) [Error - 13:04:54] Connection to server got closed. Server will not be restarted.
I even fully reinstalled the VScode Just out of frustation and it still didn't work. for some people downgrading to lower versions helped, unfortunately not for me ?
Can you explain what's going on here ?
To Reproduce
i not sure why this happend, it was working nicely since yesterday.
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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 [e.g. v0.17.x]
- VS Code Version: [e.g 1.x.y]
- OS: [e.g. Windows, Linux, Mac]
- 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.