-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加worker端口时出错 #2
Labels
Comments
完整的config.js贴上来看看 |
'use strict'; module.exports = {
}; |
解决了,3004:{}后面加个“,”就行了 |
Closed
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
我在config.js里新加一个worker,
3005: {
sended: true,
cycle: 10
}
然后node startup worker 3005,提示出错:
/usr/src/antcolony/config.js:65
3005: {
^^^^
SyntaxError: Unexpected number
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/src/antcolony/startup:4:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
请问如何解决
The text was updated successfully, but these errors were encountered: