-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Cannot read property 'tagName' of null #362
Comments
@markusdanek no one here closed the problem, problem in this package and should be fixed here
Look on the open label in top of the issue |
@evilebottnawi Sorry I mistook the label with the other issue and saw also your comment that |
Relative to #367, will be fixed in v5. |
@gregberge after installing the latest @svgr/webpack version ("@svgr/webpack": "^5.0.1"). I still got the same problem #374
|
I had the same issue when I tried to rebase and got some new changes in package.json. I ran npm install again, and after downloading some packages, I no longer had this issue. |
I experienced this issue and detected a semicolon (;) at the end of the svg file. Deleting the semicolon solved it. |
Faced the same issue, resolved it by adding individual export entries in image directory like below.
Actual IssueIt's been imported as direct svg file as
FixStep 1: Added index.js to
Step 2: Exported as individual file in index.js
Final Step 3: call them as component
|
Still facing this issue.
Any fixes? |
I tried deleting the node modules folder, and tried to use yarn instead... Didn't work.. I also moved the JS files to the directory with the icons. |
try this: |
I'm getting this after updating react scripts from |
Expected Behavior
Load SVG icon in JSX.
Actual Behavior
Code
How Do We Reproduce?
After updating
file-loader
from v4.2.0 to v5.0.2 I am getting this error.The text was updated successfully, but these errors were encountered: