You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im getting the following error when trying to build my nextjs app with the inline svg plugin:
"Module build failed: TypeError: /var/www/path/path/path/component.js: path must be a string or Buffer"
When I try the same thing in a Mac everything works fine.... only under Ubuntu do I get this error.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered:
I'm getting the same problem and I'm on OSX. It started showing up when trying to change the path of one of the SVGs I'm using. I'm also seeing really weird caching issues, like editing the SVG files and not seeing them update in my bundle...
The caseSensitive option didn't work for me. I think this issue should be reopened.
vieira
added a commit
to vieira/babel-plugin-inline-react-svg
that referenced
this issue
Aug 30, 2024
Drop defaultProps from the generated component as they are now
deprecated and will be removed in React 19.
They were added in airbnb#8 due to concerns about the overhead of `_extends`
although no benchmarks were provided and it is likely that difference
would be marginal where it matters.
Fixes: airbnb#25
Hi,
Im getting the following error when trying to build my nextjs app with the inline svg plugin:
"Module build failed: TypeError: /var/www/path/path/path/component.js: path must be a string or Buffer"
When I try the same thing in a Mac everything works fine.... only under Ubuntu do I get this error.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: