Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

i was trying to covert my code from angular 6 to angular 11

i have tried few manual commnads to update it to angular 9 and then i have used update it 11 autaomatically . i am getting errors which are

Error: ./node_modules/primeng/resources/primeng.min.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./node_modules/quill/dist/quill.core.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): [91mTypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./node_modules/quill/dist/quill.snow.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./node_modules/@progress/kendo-theme-default/dist/all.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39)39m at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./node_modules/font-awesome/css/font-awesome.min.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63[39m at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./node_modules/fullcalendar/dist/fullcalendar.min.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

Error: ./src/styles.scss Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): TypeError: Cannot read property 'tapAsync' of undefined at ExternalModuleFactoryPlugin.apply (D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalModuleFactoryPlugin.js:59:39) at D:CRMUI-masterCRMUI-master ode_moduleswebpacklibExternalsPlugin.js:30:63 at SyncHook.eval [as call] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:19:10), :5:1) at SyncHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:665:23 at AsyncSeriesHook.eval [as callAsync] (eval at create (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHookCodeFactory.js:33:10), :4:1) at AsyncSeriesHook.lazyCompileHook (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_modulesapablelibHook.js:154:20) at Compiler.compile (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:662:28) at Compiler.runAsChild (D:CRMUI-masterCRMUI-master ode_modules@angular-devkituild-angular ode_moduleswebpacklibCompiler.js:328:8) at Object.pitch (D:CRMUI-masterCRMUI-master ode_modulesmini-css-extract-plugindistloader.js:121:17)

question from:https://stackoverflow.com/questions/65857030/i-was-trying-to-covert-my-code-from-angular-6-to-angular-11

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

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...