Skip to content
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

No serializer registered for TsconfigPathsPlugin #108

Open
ahungrynoob opened this issue Feb 6, 2024 · 0 comments
Open

No serializer registered for TsconfigPathsPlugin #108

ahungrynoob opened this issue Feb 6, 2024 · 0 comments

Comments

@ahungrynoob
Copy link

When I use webpack 5's cache feature, it is invalid, and the warning message goes like this:

[webpack.cache.PackFileCacheStrategy] Skipped not serializable cache item 'Compilation/modules|/Users/ahungrynoob/work/web_monorepo/common/temp/node_modules/.pnpm/[email protected][email protected]/node_modules/thread-loader/dist/cjs.js!/Users/ahungrynoob/work/web_monorepo/common/temp/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/ts-loader/index.js??ruleSet[1].rules[2].use[1]!/Users/ahungrynoob/work/web_monorepo/packages/libs/webapp-live-shared/dist/modules/cashier/components/card-management/sub-auto-renew/confirm-modal/style.js': No serializer registered for TsconfigPathsPlugin
<w> while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Object { conditionNames, mainFields, plugins } -> Array { 2 items } -> TsconfigPathsPlugin
   [webpack.cache.PackFileCacheStrategy] Error: No serializer registered for TsconfigPathsPlugin
   while serializing webpack/lib/cache/PackFileCacheStrategy.PackContentItems -> webpack/lib/NormalModule -> Object { conditionNames, mainFields, plugins } -> Array { 2 items } -> TsconfigPathsPlugin
       at Function.getSerializerFor (/Users/ahungrynoob/work/web_monorepoo/packages/apps/webapp-live/node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/serialization/ObjectMiddleware.js:255:22)
       at process (/Users/ahungrynoob/work/web_monorepo/packages/apps/webapp-live/node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/serialization/ObjectMiddleware.js:496:23)
       at Object.write (/Users/ahungrynoob/work/web_monorepo/packages/apps/webapp-live/node_modules/.pnpm/[email protected][email protected]/node_modules/webpack/lib/serialization/ObjectMiddleware.js:418:6)
       at ArraySerializer.serialize (/Users/ahungrynoob/work/web_monorepopackages/apps/webapp-live/node_modules/.pnpm/[email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant