0

I am trying to install a Strider instance on an AWS EC2 instance. I have installed all the perquisites as described in this document but have run across a problem running Strider using npm start.

I have confirmed that MongoDB is running correctly.

I will eventually run it as a service, but I'd like to check it's running first. I receive pages of errors along the lines of:

strider@1.8.0 start /home/ubuntu/strider bin/strider

6800 forked
module.js:341
throw err;
^

Error: Cannot find module '../../../models'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/ubuntu/strider/lib/routes/collaborators/api.js:3:14)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/ubuntu/strider/lib/routes/collaborators/index.js:9:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/ubuntu/strider/lib/app.js:44:27)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/home/ubuntu/strider/main.js:9:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
6800 died 1 null

I have looked at this overflow but it doesn't solve my problem unfortunately. I do not appear to have a server.js anywhere.

Is there some configuration I need to do?

Community
  • 1
  • 1
serlingpa
  • 12,024
  • 24
  • 80
  • 130

0 Answers0