Error when setting up CLI server on Linux
- 
					
					
					
					
 After installing screeps with npm, I tried to fire up the server with "screeps init" and "screeps start". Below is the error i get. Server version 2.2.0 
 Starting all processes. Ports: 21025 (game), 21026 (cli)
 [storage] process 21168 started
 Loading mods from "/home/arsdragonfly/screeps/mods.json"
 Starting storage server
 Storage listening on 21027
 [backend] process 21178 started
 [engine_main] process 21179 started
 [engine_runner1] process 21185 started
 [engine_runner2] process 21186 started
 [engine_processor1] process 21197 started
 [engine_processor2] process 21203 started
 module.js:442
 throw err;
 ^Error: Cannot find module '../native/build/Release/native' 
 at Function.Module._resolveFilename (module.js:440:15)
 at Function.Module._load (module.js:388:25)
 at Module.require (module.js:468:17)
 at require (internal/module.js:20:19)
 at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/driver/lib/index.js:923:18)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 [engine_runner1] process 21185 exited with code 1, restarting...
 module.js:442
 throw err;
 ^Error: Cannot find module '../native/build/Release/native' 
 at Function.Module._resolveFilename (module.js:440:15)
 at Function.Module._load (module.js:388:25)
 at Module.require (module.js:468:17)
 at require (internal/module.js:20:19)
 at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/driver/lib/index.js:923:18)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 module.js:442
 throw err;
 ^Error: Cannot find module '../native/build/Release/native' 
 at Function.Module._resolveFilename (module.js:440:15)
 at Function.Module._load (module.js:388:25)
 at Module.require (module.js:468:17)
 at require (internal/module.js:20:19)
 at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/driver/lib/index.js:923:18)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 [engine_main] process 21179 exited with code 1, restarting...
 module.js:442
 throw err;
 ^Error: Cannot find module '../native/build/Release/native' 
 at Function.Module._resolveFilename (module.js:440:15)
 at Function.Module._load (module.js:388:25)
 at Module.require (module.js:468:17)
 at require (internal/module.js:20:19)
 at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/driver/lib/index.js:923:18)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 [engine_runner2] process 21186 exited with code 1, restarting...
 module.js:442
 throw err;
 ^Error: Cannot find module '../native/build/Release/native' 
 at Function.Module._resolveFilename (module.js:440:15)
 at Function.Module._load (module.js:388:25)
 at Module.require (module.js:468:17)
 at require (internal/module.js:20:19)
 at Object.<anonymous> (/usr/lib/node_modules/screeps/node_modules/@screeps/driver/lib/index.js:923:18)
 at Module._compile (module.js:541:32)
 at Object.Module._extensions..js (module.js:550:10)
 at Module.load (module.js:458:32)
 at tryModuleLoad (module.js:417:12)
 at Function.Module._load (module.js:409:3)
 [engine_processor2] process 21203 exited with code 1, restarting...
 [engine_processor1] process 21197 exited with code 1, restarting...
 Loading mods from "/home/arsdragonfly/screeps/mods.json"
 Connecting to storage
 [127.0.0.1:48106] Incoming connection
 Starting CLI server
 STEAM_KEY environment variable found, disabling native authentication
 Connecting to Steam Web API
 CLI listening on localhost:21026Since the error seems to be recurring continuously, I had to send SIGINT with Ctrl+c to truncate the output. IMHO the packages I downloaded possibly went corrupt. Is there any clean way to reinstall everything? 
 
- 
					
					
					
					
 Something went wrong when you installed the server with npm. Try reinstalling the server. I think the server needs a working compiler to compile native modules while installing the modules. 
 
- 
					
					
					
					
 npm install reinstall -g screeps didn't give any help. Also, what is the compiler needed? I think I do have gcc and g++.