Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

[email protected] start with an error #79

Open
yangyujie1320 opened this issue Apr 4, 2019 · 0 comments
Open

[email protected] start with an error #79

yangyujie1320 opened this issue Apr 4, 2019 · 0 comments

Comments

@yangyujie1320
Copy link

[email protected] start with an error
start-script:
--daemon
--require skyapm-egg-require
--sw_pplication_code=14-node
--sw_direct_Servers=172.17.140.41:11800

error-info:
/home/www/icommunity-gateway/node_modules/egg/lib/application.js:40
throw e;
^

TypeError: Cannot read property 'serv' of undefined
at BaseContextClass.get origin [as origin] (/home/www/icommunity-gateway/app/service/credit.js:8:24)
at Instrumentation.enhanceMethod (/home/www/icommunity-gateway/node_modules/skyapm-nodejs/lib/instrumentation/index.js:46:84)
at /home/www/icommunity-gateway/node_modules/skyapm-nodejs/lib/plugins/egg-core/file_loader.js:64:41
at Array.forEach ()
at /home/www/icommunity-gateway/node_modules/skyapm-nodejs/lib/plugins/egg-core/file_loader.js:60:36
at Array.forEach ()
at ContextLoader. (/home/www/icommunity-gateway/node_modules/skyapm-nodejs/lib/plugins/egg-core/file_loader.js:58:21)
at ContextLoader.load (/home/www/icommunity-gateway/node_modules/egg-core/lib/loader/file_loader.js:67:24)
at AppWorkerLoader.loadToContext (/home/www/icommunity-gateway/node_modules/egg-core/lib/loader/egg_loader.js:408:28)
at AppWorkerLoader. (/home/www/icommunity-gateway/node_modules/skyapm-nodejs/lib/plugins/egg-core/egg_loader.js:45:27)
at AppWorkerLoader.loadService (/home/www/icommunity-gateway/node_modules/egg-core/lib/loader/mixin/service.js:24:10)
at AppWorkerLoader.load (/home/www/icommunity-gateway/node_modules/egg/lib/loader/app_worker_loader.js:35:10)
at new Application (/home/www/icommunity-gateway/node_modules/egg/lib/application.js:36:19)
at Object. (/home/www/icommunity-gateway/node_modules/egg-cluster/lib/app_worker.js:19:13)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
2019-04-04 16:42:34,860 ERROR 17170 nodejs.AppWorkerDiedError: [master] app_worker#1:17197 died (code: 1, signal: null, suicide: false, state: dead), current workers: []
at Master.onAppExit (/home/www/icommunity-gateway/node_modules/egg-cluster/lib/master.js:408:21)
at emitOne (events.js:116:13)
at Master.emit (events.js:211:7)
at Messenger.sendToMaster (/home/www/icommunity-gateway/node_modules/egg-cluster/lib/utils/messenger.js:137:17)
at Messenger.send (/home/www/icommunity-gateway/node_modules/egg-cluster/lib/utils/messenger.js:102:12)
at EventEmitter.cluster.on (/home/www/icommunity-gateway/node_modules/egg-cluster/lib/master.js:277:22)
at emitThree (events.js:141:20)
at EventEmitter.emit (events.js:217:7)
at ChildProcess.worker.process.once (internal/cluster/master.js:185:13)
at Object.onceWrapper (events.js:317:30)
name: "AppWorkerDiedError"
pid: 17170

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant