Open felipeschneider88 opened 1 month ago
That could happen if Insiders needs to be updated. I think a flurry of updates went out in recent days. Would you mind checking that?
I'm on the newest version: Version: 1.91.1 (user setup) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:06:49.809Z Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631
And this is my node version:
PS C:\book\vscode-postgres\copilot-pg> node -v v18.18.1
I moved to a shorter folder too but keep getting this error:
Activating extension 'robconery.pg-chat' failed: Cannot read properties of undefined (reading '0').
on the debug windows I get this errors:
(node:24724) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use
Code --trace-deprecation ...
to show where the warning was created) extensionHostProcess.js:148 Overlapping flush calls detected. Please wait for the previous flush to finish before calling .flush again
Hmm. I'm on a Mac and I assume the builds are the same - mine is 1.92.0. It's super hard to debug these things but I'll have a go later today to add more debug statements. They don't seem to be showing up very often.
I remove all the node_modules and installed all with YARN instead of NPM. Now the problems seem something different :'(
Activating extension 'robconery.pg-chat' failed: Cannot read properties of undefined (reading '0').
I'm not sure if this is the place to put this but I was trying this but I keep getting an error that says my agent isn't activated
I get this error stack
Activating extension 'robconery.pg-chat' failed: Cannot find module 'pg-promise' Require stack: - c:\Users\FelipeSchneider\POCs\OSS\vscode-postgres\copilot-pg\lib\db.js - c:\Users\FelipeSchneider\POCs\OSS\vscode-postgres\copilot-pg\lib\pg.js - c:\Users\FelipeSchneider\POCs\OSS\vscode-postgres\copilot-pg\extension.js - c:\Users\FelipeSchneider\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js - c:\Users\FelipeSchneider\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-amd.js - c:\Users\FelipeSchneider\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.