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.

Screeps 1.04 gets in process restart loop on Ubuntu 14.04

See original GitHub issue

I had screeps running fine on Win10 (via Bash on Ubuntu anyway), but I can’t get it to run on Ubuntu 14.04.

Trying with node v7.1.0. I just get continuous restarts:

# screeps start
Server build 35
Starting all processes. Ports: 21025 (game), 21026 (cli)
[storage] process 6720 started
[backend] process 6732 started
[engine_main] process 6733 started
[engine_runner1] process 6739 started
[engine_runner2] process 6745 started
[engine_processor1] process 6751 started
[engine_processor2] process 6757 started
[engine_main] process 6733 exited with code 1, restarting...
[engine_runner2] process 6745 exited with code 1, restarting...
[engine_runner1] process 6739 exited with code 1, restarting...
[engine_processor1] process 6751 exited with code 1, restarting...
[engine_processor2] process 6757 exited with code 1, restarting...
[backend] process 6732 exited with code 1, restarting...
[engine_main] process 6772 started
[engine_runner2] process 6778 started
[engine_runner1] process 6779 started
[engine_processor1] process 6785 started
[engine_processor2] process 6791 started
[backend] process 6802 started

Inspecting the log files I can see:

Error: Cannot find module './core/index'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at Object.getDriver (/usr/lib/node_modules/screeps/node_modules/@screeps/engine/dist/utils.js:21:18)
    at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/engine/dist/runner.js:8:20)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)

And listing that dir, the file ./core/index does appear to be missing:

# ll /usr/lib/node_modules/screeps/node_modules/@screeps/engine/dist/
total 104
drwxr-xr-x 5 nobody root  4096 Nov 10 00:31 ./
drwxr-xr-x 4 nobody root  4096 Nov 10 00:31 ../
-rw-r--r-- 1 nobody root   301 Nov  7 02:36 config.js
-rw-r--r-- 1 nobody root  3650 Nov  7 02:36 decycle.js
drwxr-xr-x 2 nobody root  4096 Nov 10 00:31 game/
-rw-r--r-- 1 nobody root   179 Nov  8 06:18 index.js
-rw-r--r-- 1 nobody root   103 Nov  7 02:36 local-config.js
-rwxr-xr-x 1 nobody root  4381 Nov  9 04:34 main.js*
drwxr-xr-x 3 nobody root  4096 Nov 10 00:30 processor/
-rwxr-xr-x 1 nobody root 19216 Nov  9 04:34 processor.js*
-rwxr-xr-x 1 nobody root  3503 Nov  9 04:34 runner.js*
drwxr-xr-x 4 nobody root  4096 Nov 10 00:31 sourcemaps/
-rw-r--r-- 1 nobody root 34976 Nov  8 06:09 utils.js

Please let me know if you need more info.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Patrick-DEcommented, Dec 20, 2017

For me it worked like that:

sudo npm install -g screeps --unsafe-perm
1reaction
mnpennercommented, Nov 11, 2016

Got mine working too. Might have just needed some swap.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Untitled
#twins Vigners leonids, Software selection process diagram, Leserinnlegg mal, ... Bolo judaico, Nice work if you can get it script, Adamantidhs uemhs, ...
Read more >
HYE - River Thames Conditions
Psyllium husk powder weight loss, 63001 hypertech, My bobcat creeps forward, ... P l 94 566, Auton haltijasta omistajaksi, Get process start time...
Read more >
Untitled
Fdmr mukesh verma, Tablature il pleut dans ma maison, Bancos franceses no brasil, Leo simon r25, Xfonts-75dpi ubuntu 12.04, Ark 560 ti, Stuktv...
Read more >
#ubuntu.txt
[12:14] <_SWAT_> rcec52, why do you want to know? ... Getting an Error 17 on boot. ... I think I've about got it...
Read more >
Sticky:Launcher issues workarounds! - EVE Search
I'm still only getting the 1.04 launcher on both of my boxes, and there is no ... then restart at 0, and loop...
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