Next.js Discord

Discord Forum

TypeError: Cannot read properties of null (reading 'removeChild')

Unanswered
▄︻デZ̷o̷r̷o̷ ̷O̷P̷╅ posted this in #help-forum
Open in Discord
Avatar
▄︻デZ̷o̷r̷o̷ ̷O̷P̷══━一OP
continously getting this error any solution i could understand what is going worng
Image

9 Replies

Avatar
fuma 💙 joulev
Probably you have some empty fragments in your code like <></>, please provide some code
Avatar
▄︻デZ̷o̷r̷o̷ ̷O̷P̷══━一OP
W8
Image
Image
it started when i wrote css
<w> [webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|javascript/auto|D:\Vs code\React\google-sso\node_modules\next\dist\build\webpack\loaders\next-flight-css-loader.js??ruleSet[1].rules[5].oneOf[12].use[0]!D:\Vs code\React\google-sso\node_modules\next\dist\compiled\mini-css-extract-plugin\loader.js??ruleSet[1].rules[5].oneOf[12].use[1]!D:\Vs code\React\google-sso\node_modules\next\dist\build\webpack\loaders\css-loader\src\index.js??ruleSet[1].rules[5].oneOf[12].use[2]!D:\Vs code\React\google-sso\node_modules\next\dist\build\webpack\loaders\postcss-loader\src\index.js??ruleSet[1].rules[5].oneOf[12].use[3]!D:\Vs code\React\google-sso\app\(login)\[slug]\page.css|app-pages-browser': No serializer registered for ModuleNotFoundError
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> webpack/lib/ModuleBuildError -> ModuleNotFoundError
this occurs i terminal after some time
Avatar
▄︻デZ̷o̷r̷o̷ ̷O̷P̷══━一OP
@fuma 💙 joulev
Avatar
Albacore
I'm seeing this with the latest nextjs and css modules as well. Any update on this?