-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cannot find module 'unsupported' #137
Comments
Support for working in non-node.js environments was removed in v2.3.0 because of the browser / puppeteer dependency. It's likely that the vscode / webpack config for your project was previously using the "browser" version of this package, but that's unfortunately no longer possible to support at the moment. I'm working on a solution that won't require puppeteer to obtain auth credentials, but for now I don't think this use case is supported unless you can figure out how to run your vscode extension code in node.js. |
I have an idea for a hacky workaround but since it's not an urgent requirement I'll keep using |
@dogukanakkaya Would you mind telling me about this hacky workaround that you mentioned? I am having a similar problem with my vscode extension. |
I was thinking about spinning a Node Server inside the extension and doing all the logic there. After that, communicate with that server via HTTP or whatever. But it's not ideal really, it will probably be slow and consume a lot of memory for a extension. |
Seems like with |
Also seems like for VSCode extension development, we cannot upgrade above |
…ix-token-freeze 🚑️ Fix if token expired, message will not send
Verify latest release
chatgpt
releaseVerify webapp is working
Verify resrictions
Environment details
Node.js Version 19.2,
Brave Browser
MacOS Monterey 12.5
M1 Chip
Link to the code that reproduces this issue
https://github.com/dogukanakkaya/chatgpt-code-vscode-extension
Describe the Bug
When you upgrade chatgpt-api to
>=2.3.0
webpack errorsTo Reproduce
to reproduce upgrade chatgpt-api module to
>=2.3.0
and try to run the extensionExpected Behavior
It should work fine
Note
Might be related to something else but version
2.2.0
works just fine.The text was updated successfully, but these errors were encountered: