-
Notifications
You must be signed in to change notification settings - Fork 10
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
walk package error if @spectrum-web-components/action-menu is installed even if not used #1309
Comments
I was able to use some of the other spectrum-web-components packages successfully, unsure what is different about this one.
these certainly work with both pnpm and npm. unsure about others. |
I'm happy to submit a bug to the Spectrum guys, but the error message from Greenwood doesn't really give me enough detail to know what to submit. I imagine the package is malformed in someway, but I'm not sure what it expects to be a string that its getting an object for instead. |
Thanks for this report, though my initial hunch is that this one might be on Greenwood as I ran into something similar when playing around with Shoelace. My plan there, and for this and in general, is to better flesh out our support for package.json exports field. This kind of work is definitely at the top of our priority queue so give me a little time and then hopefully we can unlock even more support for a much wider set of ecosystem packages. It might be worth trying to move this dep to |
cool, well if you need more information, I can try to gather it. |
thank you! will keep posted on progress here and let you know. |
Hey @lschierer Just wanted to give you an update that I've been steadily working on a refactor of the import map generation code as a general umbrella to address and improve upon some of the related issues you've raised, and just wanted to share that I now have Spectrum WCs working. 🎉 spectrum-demo.movGive me another couple week or so and I should have all this work submitted as a PR and then will be able to cut a new Greenwood release candidate that we can start testing in your project. This batch of work should also encompass #1310 and better handle #1313 . |
That's awesome to hear! the forward progress that Greenwood is making is great to see :-) |
Type of Change
Bug
Summary
even if not used, if @spectrum-web-components/action-menu is installed as a dependency, you will get the following error when first loading a page:
Details
observe error in terminal
The text was updated successfully, but these errors were encountered: