-
Notifications
You must be signed in to change notification settings - Fork 946
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
IconField: Reference error React is not defined, im using vite #6585
Labels
Resolution: Cannot Replicate
Issue could not be replicated by Core Team
Comments
kamel996
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
May 7, 2024
Can you provide a stackblitz link please ? |
https://stackblitz.com/edit/iairs4?file=src%2FApp.jsx Can you look at this link ? Looks like it is working. |
melloware
added
Resolution: Cannot Replicate
Issue could not be replicated by Core Team
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
May 7, 2024
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
when i import the IconField component and use it in my component so it shows me this error
primereact_inputicon_inputicon.js?t=1715086871785&v=648092a4:120 Uncaught ReferenceError: React is not defined
at node_modules/primereact/inputicon/inputicon.js (primereact_inputicon_inputicon.js?t=1715086871785&v=648092a4:120:11)
at __require (chunk-UV5CTPV7.js?v=62a634b4:9:50)
at primereact_inputicon_inputicon.js?t=1715086871785&v=648092a4:123:16
node_modules/primereact/inputicon/inputicon.js @ primereact_inputicon_inputicon.js?t=1715086871785&v=648092a4:120
__require @ chunk-UV5CTPV7.js?v=62a634b4:9
(anonymous) @ primereact_inputicon_inputicon.js?t=1715086871785&v=648092a4:123
Show 3 more frames
Show less
Reproducer
No response
PrimeReact version
latest
React version
18.2
Language
TypeScript
Build / Runtime
React Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: