-
Notifications
You must be signed in to change notification settings - Fork 274
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
extensions using npm package with dependency on http
leads to crash
#7833
Comments
note that it works for simple extensions but not in case of development mode for extensions using multiple workspaces for example ai-lab has node_modules in the root folder while the extension is in packages/backend folder. so at some point we try to load |
@axel7083 Do you run extension using |
@benoitf Extension is needed only when override is a function. What function does is returning 'ext.api' attribute. In this case ext acts like a cache. If there is no extension it should just cache module for |
@axel7083 What is git repo for the extension that has this problem? |
Bug description
error is raised here
podman-desktop/packages/main/src/plugin/module-loader.ts
Line 90 in 7d99764
Operating system
Windows 11
Installation Method
Other
Version
next (development version)
Steps to reproduce
Add
@kubernetes/client-node
npm package to any extensions, import it and use it (avoid tree shaking).Relevant log output
No response
Additional context
cc @benoitf
The text was updated successfully, but these errors were encountered: