Error on Server start
See original GitHub issueWhen I run npm start
I getthis error:
(in Windows and Ubuntu)
`include-all` attempted to `require(/root/electron-release-server/config/docker.js)`, but an error occurred::
Details:TypeError: Cannot read property 'split' of undefined
at Object.<anonymous> (/root/electron-release-server/config/docker.js:28:66)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at /root/electron-release-server/node_modules/sails/node_modules/include-all/lib/help-include-all-sync.js:271:33
at Array.forEach (native)
at _recursivelyIncludeAll (/root/electron-release-server/node_modules/sails/node_modules/include-all/lib/help-include-all-sync.js:174:11)
at includeAll (/root/electron-release-server/node_modules/sails/node_modules/include-all/lib/help-include-all-sync.js:292:5)
at helpBuildDictionary (/root/electron-release-server/node_modules/sails/node_modules/include-all/lib/help-build-dictionary.js:43:15)
at Function.module.exports.aggregate (/root/electron-release-server/node_modules/sails/node_modules/include-all/index.js:101:10)
at Array.loadOtherConfigFiles (/root/electron-release-server/node_modules/sails/lib/hooks/moduleloader/index.js:247:22)
at /root/electron-release-server/node_modules/sails/node_modules/async/lib/async.js:591:38
at _arrayEach (/root/electron-release-server/node_modules/sails/node_modules/async/lib/async.js:85:13)
at Object.async.auto (/root/electron-release-server/node_modules/sails/node_modules/async/lib/async.js:552:9)
at Hook.loadUserConfig (/root/electron-release-server/node_modules/sails/lib/hooks/moduleloader/index.js:245:13)
at Hook.wrapper [as loadUserConfig] (/root/electron-release-server/node_modules/@sailshq/lodash/lib/index.js:3250:19)
at Hook.loadModules (/root/electron-release-server/node_modules/sails/lib/hooks/userconfig/index.js:41:27)
at Hook.wrapper [as loadModules] (/root/electron-release-server/node_modules/@sailshq/lodash/lib/index.js:3250:19)
at Array.async.auto.modules (/root/electron-release-server/node_modules/sails/lib/hooks/index.js:79:27)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:8
Top Results From Across the Web
Unable to Start the Server Service - Microsoft Support
When you attempt to start the Server service from a command prompt, you may receive the following error message: System error 1058 has...
Read more >Error starting server at operating system startup - IBM
In IBM Security Directory Server, the server (the ibmslapd process) is started manually through the Services window or by the ibmslapd command.
Read more >My Server Fails to Start
When your server fails to start, consider the following cases: ... When you encounter server startup issue, Server's error log or console output...
Read more >Why Won't My Minecraft Server Start? - Apex Hosting
Your server not starting can be the result of a number of causes, in most cases, it can be resolved or at least...
Read more >Server Fails to Start - FairCom
Check for errors in these locations first in order to understand the reason the server failed to start. If FairCom DB has successfully...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here, Debian Strech 9.1, node 6.11.2, npm 3.10.10.
Resolve if delete
config/docker.js
file or set the DATABASE_URL and runsudo npm start
.Same here. but I don’t find a way.