-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Since upgrading nx from 17.2.8 to 18.0.4 my ui projects are suddenly unable to build #21978
Comments
I'm facing a similar issue with
|
I have this with @nx/webpack. Seems similar to #14383 , but that was fixed. |
Also seeing this issue with @nx/webpack": "18.0.8" |
also see it with nx next, using svgs from a lib in my next app |
Getting this as well. Any solutions? |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
seems to be a wierd issue my svg's. I can't understand why upgrading nx would cause this issue:
ERROR in ./src/components/SeidoLogo/seido-logo.svg
Module build failed (from ../../../node_modules/.pnpm/@svgr+webpack@8.0.1/node_modules/@svgr/webpack/dist/index.js):
TypeError: Cannot read properties of null (reading 'tagName')
at Object.parse (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm\svg-parser@2.0.4\node_modules\svg-parser\dist\svg-parser.umd.js:279:15)
at jsxPlugin (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+plugin-jsx@8.0.1_@svgr+core@8.0.0\node_modules@svgr\plugin-jsx\dist\index.js:57:30)
at run (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+core@8.0.0\node_modules@svgr\core\dist\index.js:174:16)
at Object.transform (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+core@8.0.0\node_modules@svgr\core\dist\index.js:180:10)
at async C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+webpack@8.0.1\node_modules@svgr\webpack\dist\index.js:66:20
ERROR in ../../../libs/ui/base-ui/src/lib/components/icons/crypto-icon/cad.color.svg
Module build failed (from ../../../node_modules/.pnpm/@svgr+webpack@8.0.1/node_modules/@svgr/webpack/dist/index.js):
TypeError: Cannot read properties of null (reading 'tagName')
at Object.parse (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm\svg-parser@2.0.4\node_modules\svg-parser\dist\svg-parser.umd.js:279:15)
at jsxPlugin (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+plugin-jsx@8.0.1_@svgr+core@8.0.0\node_modules@svgr\plugin-jsx\dist\index.js:57:30)
at run (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+core@8.0.0\node_modules@svgr\core\dist\index.js:174:16)
at Object.transform (C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+core@8.0.0\node_modules@svgr\core\dist\index.js:180:10)
at async C:\Users\brand\Documents\Projects\atlantic-dawn-monorepo\node_modules.pnpm@svgr+webpack@8.0.1\node_modules@svgr\webpack\dist\index.js:66:20
Expected Behavior
should build the same as before
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: