cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
607 stars 80 forks source link

process event PACKAGE_TAG_REMOVED failed: Cannot read properties of undefined (reading 'undefined') #631

Open fengmk2 opened 9 months ago

fengmk2 commented 9 months ago
2023-12-31 17:46:52,834 ERROR 490599 [-/127.0.0.1/86d978f1-a7c1-11ee-9282-15044ef8b684/34.481ms GET /] nodejs.TypeError: [EventBus] process event PACKAGE_TAG_REMOVED failed: Cannot read properties of undefined (reading 'undefined')
at PackageSearchService.syncPackage (/home/admin/application/app/core/service/PackageSearchService.ts:60:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at PackageTagRemoved.syncPackage (/home/admin/application/app/core/event/SyncESPackage.ts:28:5)
at PackageTagRemoved.handle (/home/admin/application/app/core/event/SyncESPackage.ts:71:5)
at /home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@3.28.2@@eggjs/tegg-eventbus-runtime/src/SingletonEventBus.ts:151:13
at async Promise.all (index 2)
at /home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@3.28.2@@eggjs/tegg-eventbus-runtime/src/SingletonEventBus.ts:149:9
at EggContextHandler.run (/home/admin/application/node_modules/_@eggjs_tegg-plugin@3.28.2@@eggjs/tegg-plugin/lib/EggContextHandler.ts:19:12)
at Function.tegg_runtime_1.ContextHandler.runInContextCallback (/home/admin/application/node_modules/_@eggjs_tegg-plugin@3.28.2@@eggjs/tegg-plugin/lib/EggContextHandler.ts:27:14)
at SingletonEventBus.doEmit (/home/admin/application/node_modules/_@eggjs_tegg-eventbus-runtime@3.28.2@@eggjs/tegg-eventbus-runtime/src/SingletonEventBus.ts:142:5)
pid: 490599
hostname: cnpmcore-01