-
Notifications
You must be signed in to change notification settings - Fork 1.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
MeterGroup: Failed to resolve import "primereact/metergroup" from "src/App.tsx". #6340
Comments
Already fixed for next release |
10.6.3 is out if you want to try again. |
hey @melloware, thanks for the update, I just tried v10.6.3 and now I'm getting this error:
|
Interesting I see it too. |
OK I have never seen a strange error like this and it works on the Showcase which is even stranger. I submitted a PR that I am not sure fixes it for Vite but hopefully! |
@melloware, thanks for looking into it and for the PR👍🏻 |
I have "React is not defined" as well -- willing to help track it down if the PR doesn't fix it. |
@jimduchek i am pretty sure my PR fixes it ! PrimeTek plans on doing a new release within a week. |
I was also experiencing "Uncaught ReferenceError: React is not defined" when using the MeterGroup in version 10.6.3. Pulled down master at commit fb010b6 and used it in-place of the 10.6.3 version, which resolved the issue. I am using Vite and Hilla (among a myriad of other things), and to be honest, if it's resolved in my dependency-nightmare of a project it's likely resolved across the board. |
Nice @katnova yep just now waiting on a release from PrimeTek! |
Describe the bug
I was going through the Prime React docs v10.6.2 and I was checking the new MeterGroup component, however after trying to use it on my project I get this:
Failed to resolve import "primereact/metergroup" from "src/App.tsx".
So I tried using the example StackBlitz, with the same result:
Reproducer
https://stackblitz.com/edit/wdm3c6?file=package.json
PrimeReact version
10.6.2
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The import should not fail to be resolved
The text was updated successfully, but these errors were encountered: