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

请升级 webpack-sources #72

Open
yoyo837 opened this issue Sep 15, 2022 · 4 comments
Open

请升级 webpack-sources #72

yoyo837 opened this issue Sep 15, 2022 · 4 comments

Comments

@yoyo837
Copy link

yoyo837 commented Sep 15, 2022

版本不一致可能造成webpack5 filesystem cache不能正常工作

 [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: No serializer registered for ConcatSource while serializing webpack/lib/util/registerExternalSerializer.webpack-sources/ConcatSource -> Array { 3 items } -> ConcatSource

可能有关的 #62

@yoyo837
Copy link
Author

yoyo837 commented Sep 15, 2022

  "overrides": {
    "webpack-sources": "^3.2.3"
  },

可以暂时解决

@agileago
Copy link

agileago commented Oct 1, 2022

  "overrides": {
    "webpack-sources": "^3.2.3"
  },

可以暂时解决

pnpm 这个也不行

@yoyo837
Copy link
Author

yoyo837 commented Oct 1, 2022

overrides好像需要删掉node_modules和lock文件,全新安装

@agileago
Copy link

agileago commented Oct 3, 2022

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

2 participants