Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error thrown when starting with yarn start #36

Closed
chaoman opened this issue May 23, 2018 · 2 comments
Closed

Error thrown when starting with yarn start #36

chaoman opened this issue May 23, 2018 · 2 comments

Comments

@chaoman
Copy link

chaoman commented May 23, 2018

I followed along the installation instruction but encountered the following error when starting with yarn start command.

I am running the following environment:

  • Ubuntu 18
  • npm 3.5.2
  • yarn 1.6.0
  • node 8.10.0
chaoman@localhost:~/React-Instagram-Clone-2.0$ sudo yarn start
yarn run v1.6.0
$ nodemon app.js
[nodemon] 1.17.5
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node app.js`
module.js:549
    throw err;
    ^

Error: Cannot find module '../../../config/mail'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/chaoman/React-Instagram-Clone-2.0/routes/api/others/edit-routes.js:6:10)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
[nodemon] app crashed - waiting for file changes before starting...

Do you have any clue when I couldn't start?

@yTakkar
Copy link
Owner

yTakkar commented May 23, 2018

solved!!
8732744

@yTakkar yTakkar closed this as completed May 23, 2018
@chaoman
Copy link
Author

chaoman commented May 23, 2018

Thanks for the quick action!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants