Next.js Discord

Discord Forum

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

Avatar
continously getting this error any solution i could understand what is going worng
Image

9 Replies

Avatar
Probably you have some empty fragments in your code like <></>, please provide some code
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
Albacore
I'm seeing this with the latest nextjs and css modules as well. Any update on this?