Error on linux when running yarn start
See original GitHub issueIs 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
node -v
:8.9.1
npm -v
:5.5.1
yarn --version
(if you use Yarn):1.3.2
npm ls react-scripts
(if you haven’t ejected):1.0.17
Then, specify:
- Operating system: Linux Mint 18.2
- Browser and version (if relevant): Not relevant
Steps to Reproduce
create-react-app APP_NAME
cd APP_NAME
- run
yarn start
ornpm start
Expected Behavior
will run app and open in browser.
Actual Behavior
- opens the browser, but nothing there
- 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:
- Created 6 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Got the same problem, fixed running with sudo on Ubuntu:
sudo yarn start
Please increase your number of watchers available to your user: https://webpack.github.io/docs/troubleshooting.html#not-enough-watchers