0

我已将我的 angular 6(微型应用程序)迁移到 angular 12,但现在我收到此错误

[error] Error: Package "single-spa-angular" has no builders defined.
    at WorkspaceNodeModulesArchitectHost.resolveBuilder (/Users/app-path/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js:118:19)
    at BuildCommand.initialize (/Users/app-path/node_modules/@angular/cli/models/architect-command.js:145:55)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async BuildCommand.validateAndRun (/Users/app-path/node_modules/@angular/cli/models/command.js:121:22)
    at async Object.runCommand (/Users/app-path/node_modules/@angular/cli/models/command-runner.js:224:24)
    at async default_1 (/Users/app-path/node_modules/@angular/cli/lib/cli/index.js:70:31)

我正在使用最新版本的 SPA lib "single-spa": "^5.9.2", "single-spa-angular": "^5.0.2",

有人可以帮我解决这个问题吗.....或我可以参考的任何具体文章...

4

1 回答 1

0

你需要安装 @angular-builders/custom-webpack 作为开发依赖

npm i @angular-builders/custom-webpack -D
于 2021-10-19T15:41:33.193 回答