Categories
Mastering Development

I have having problem with react while starting server

When I create a new react app using “npx create-react-app app-name” It does work in the beginning but after sometimes when I start server It shows error Starting the development server… events.js:298 throw er; // Unhandled ‘error’ event ^ Error: ENOSPC: System limit for number of file watchers reached, watch ‘/home/ashim/Desktop/all-react/clone-netflix/public/logo512.png’ at FSWatcher. (internal/fs/watchers.js:169:26) at […]

Categories
Cryptocurrency Development Ethereum

when iam runing npm run dev it showing me this error, how to solve this

[![shiva@shiva-VirtualBox:~/sta$ npm run dev StarNotary@1.0.0 dev /home/shiva/sta lite-server ** browser-sync config ** { injectChanges: false, files: [ ‘./**/*.{html,htm,css,js}’ ], watchOptions: { ignored: ‘node_modules’ }, server: { baseDir: [ ‘./src’, ‘./build/contracts’ ], middleware: [ [Function (anonymous)], [Function (anonymous)] ] } } [Browsersync] Access URLs: Local: http://localhost:3000 External: http://10.0.2.15:3000 UI: http://localhost:3001 UI External: http://localhost:3001 [Browsersync] Serving files […]

Categories
Development React

Error: EMFILE: too many open files – React Native CLI

I try to run a react-native-cli project using react-native start, and the metro bundler fails, saying the following: events.js 187 throw er; //Unhandled ‘error’ event Error: EMFILE: too many open files, watch Emitted ‘error’ event on NodeWatcher isntance at: at NodeWatcher: checkedEmitError (…/react-native-project/node_modules/sane/src/node_watcher.js:143:12) at FSWatcher.emit (events.js:210:5) at FSEvent.FSWatcher:_handle onchange (internal/fs/watchers.js:129:12) { errno: -24, syscall: ‘watch’, […]