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.

Error on linux when running yarn start

See original GitHub issue

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

Issue is not related to 4 version

Which terms did you search for in User Guide?

No

Environment

  1. node -v: 8.9.1
  2. npm -v: 5.5.1
  3. yarn --version (if you use Yarn): 1.3.2
  4. npm ls react-scripts (if you haven’t ejected): 1.0.17

Then, specify:

  1. Operating system: Linux Mint 18.2
  2. Browser and version (if relevant): Not relevant

Steps to Reproduce

  1. create-react-app APP_NAME
  2. cd APP_NAME
  3. run yarn start or npm start

Expected Behavior

will run app and open in browser.

Actual Behavior

  1. opens the browser, but nothing there
  2. Error in console
Starting the development server...

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: watch /home/toshiba/Documents/projects/my-cv/client3/public/favicon.ico ENOSPC
    at _errnoException (util.js:1024:11)
    at FSWatcher.start (fs.js:1374:19)
    at Object.fs.watch (fs.js:1400:11)
    at createFsWatchInstance (/home/toshiba/Documents/projects/my-cv/client3/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/toshiba/Documents/projects/my-cv/client3/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/toshiba/Documents/projects/my-cv/client3/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleFile (/home/toshiba/Documents/projects/my-cv/client3/node_modules/chokidar/lib/nodefs-handler.js:255:21)
    at FSWatcher.<anonymous> (/home/toshiba/Documents/projects/my-cv/client3/node_modules/chokidar/lib/nodefs-handler.js:473:21)
    at FSReqWrap.oncomplete (fs.js:153:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
mogtofu33commented, Nov 22, 2017

Got the same problem, fixed running with sudo on Ubuntu: sudo yarn start

2reactions
Timercommented, Dec 8, 2017

Please increase your number of watchers available to your user: https://webpack.github.io/docs/troubleshooting.html#not-enough-watchers

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve this error when running 'yarn start'?
[1] 'start'' is not recognized as an internal or external command, [1] operable program or batch file. [2] ''netlify-lambda' is not recognized ...
Read more >
Error Codes | Yarn - Package Manager
This error will be generated when Yarn detects that your project references a package that isn't listed within the lockfile (usually because you...
Read more >
yarn: command not found error [Solved]
To solve the error "yarn: command not found", install the yarn package globally by running npm install -g yarn and restart your terminal....
Read more >
App Platoform when add enviroment variables I have yarn ...
Running custom build command: npm install pm2 -g yarn pre-build yarn tsc npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher....
Read more >
npm, pnpm, and Yarn | IntelliJ IDEA Documentation
IntelliJ IDEA also lets you run and debug npm, Yarn, and pnpm scripts. ... shows the npm or Yarn script output, reports the...
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