Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
556 views
in Technique[技术] by (71.8m points)

node.js - Migration from npm to Yarn 2 PnP: ts-loader doesn't find webpack

I am working on a NestJS project.

Until now I have used npm. Now I want to migrate to Yarn 2 with Zero-Install an P'n'P.

However, after following the migration instruction, I get this error:

~/IdeaProjects/service on feature/yarn-migration ?3 ? yarn explain peer-requirements p0b548                                                                                                                                                                                                           at 17:36:06
? YN0000: service@workspace:. doesn't provide webpack, breaking the following requirements:

? YN0000: ts-loader@npm:8.0.14 [0b662] → * ?

How can I fix this problem?

question from:https://stackoverflow.com/questions/65923713/migration-from-npm-to-yarn-2-pnp-ts-loader-doesnt-find-webpack

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...