question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on Server start

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:8

github_iconTop GitHub Comments

10reactions
BattlefieldTskcommented, Aug 16, 2017

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 run sudo npm start.

1reaction
TongDaDacommented, Jun 27, 2019

Same here. but I don’t find a way.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found