-
Notifications
You must be signed in to change notification settings - Fork 363
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
Module not found: Error: Default condition should be last one #1
Comments
Having the same issue |
Same Issue here |
Same issue |
Have the same issue. I think the issue is the compiled code is generating unreachable code but I haven't looked deeper into it. |
The source of the issue is the https://github.com/transitive-bullshit/chatgpt-api repo. I haven't found a solution yet. |
I built the chatgpt-api repo separately, then inlined it into this repo and everything works. So, still not sure what the root cause is but at least it works now. For anyone who wants to just run it, checkout https://github.com/abi/chatgpt-vscode/commits/main |
In order to make it work, I modified the After that, I was able to run |
They solved this in |
Hey Marcel,
first of all, thanks a lot for this repo and your idea. This is really awesome.
I cloned your repository and tried to set it up locally but somehow webpack is not able to resolve the
chatgpt
module, albeit it has been installed and can be found by vscode and within thenode_modules
.Steps to reproduce:
yarn install
I see the extension in the tab in the Extension Development Ide, but when i click i get the error in the logs:
Module not found: Error: Default condition should be last one
i get the same error when i try to compile with
yarn compile
Versions:
macos: 12.5.1
vscode: Version: 1.73.1, Commit: 6261075646f055b99068d3688932416f2346dd3b
yarn: 1.22.11
node: v16.13.2
thanks a lot in advance!
The text was updated successfully, but these errors were encountered: