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: Cannot find module './lib/server'

See original GitHub issue

Finish completing all steps, but when using "4. Run` `` node app.js``` to boot the system (may need sudo!) "Tells me that server is not found and is in the directory … Help

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

hugmanriquecommented, Mar 26, 2017

Have you properly cloned this repo? Check if you have a file inside the lib folder called server.js. If you don’t, you can fix it by removing the old folder, going up one dir and use ONE of these commands:

# Use if you want to use SSH auth
$ git clone

# Use if you want HTTPS auth
$ git clone
hugmanriquecommented, Jun 4, 2017

He already fixed the issue 3 months Ago, but never said. There’s no need to keep repeating what the docs say.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
seems it is looking to load a module ./lib/server from ~/freactal/server.js but there is no /lib directory there?
Read more >
15 - Stack Overflow
Running webpack-dev-server gave the error you pasted. I thought it may have been a configuration ... Doing this, I was given the same...
Read more >
Cannot find module '@aws-sdk/util-endpoints - Bugs
I've not changed my environment in weeks yet this error has just now started showing up. Can no longer upload images to AWS...
Read more >
Ember CLI
i am trying to ember serve one app but it is throwing above error. I tried re-installing npm ... Cannot find module './server'...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
How to Fix the "cannot find module" Error · delete the node modules folder by running rm -rf node_modules · delete package.lock.json file...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found