[webpack-dev-server] Project is running at:
[webpack-dev-server] Loopback: http://localhost:8080/ [webpack-dev-server] On Your Network (IPv4): http://192.168.1.108:8080/ [webpack-dev-server] On Your Network (IPv6): http://[fe80::74:5a8e:e3f1:9bff]:8080/ [webpack-dev-server] Content not from webpack is served from '/home/user/grapesjs' directory
[webpack-dev-middleware] wait until bundle finished: /
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js'
at FSWatcher. (node:internal/fs/watchers:247:19)
at Object.watch (node:fs:2418:34)
at createFsWatchInstance (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:119:15)
at setFsWatchListener (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:166:15)
at NodeFsHandler._watchWithNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:331:14)
at NodeFsHandler._handleFile (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:395:23)
at NodeFsHandler._addToNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:637:21)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (/home/user/grapesjs/node_modules/chokidar/index.js:647:10)
at NodeFsHandler._addToNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:645:18) {
errno: -28,
syscall: 'watch',
code: 'ENOSPC',
path: '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js',
filename: '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js'
}
Node.js v18.19.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "start:js" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Apologies if this is a 'yarn' issue but at least you will be aware of the problem.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
GrapesJS version
What browser are you using?
Firefox 125.0.3, Brave 1.66.110
Reproducible demo link
https://jsfiddle.net/szLp8h4n
Describe the bug
Following the 'git' instructions to install Grapesjs when you execute 'yarn start' in Terminal:
~$ sudo apt install nodejs npm
~$ sudo apt install curl gnupg -y
~$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
~$ sudo apt update
~$ sudo apt install yarn
~$ yarn --version
~$ git clone https://github.com/GrapesJS/grapesjs.git
~$ cd grapesjs
~$ yarn
~$ yarn start
yarn run v1.22.19 $ run-p start:* $ grapesjs-cli serve $ npm run build:css -- --watch
Start the development server...
[webpack-dev-server] Project is running at: [webpack-dev-server] Loopback: http://localhost:8080/ [webpack-dev-server] On Your Network (IPv4): http://192.168.1.108:8080/ [webpack-dev-server] On Your Network (IPv6): http://[fe80::74:5a8e:e3f1:9bff]:8080/ [webpack-dev-server] Content not from webpack is served from '/home/user/grapesjs' directory [webpack-dev-middleware] wait until bundle finished: / node:internal/errors:496 ErrorCaptureStackTrace(err); ^
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js' at FSWatcher. (node:internal/fs/watchers:247:19)
at Object.watch (node:fs:2418:34)
at createFsWatchInstance (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:119:15)
at setFsWatchListener (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:166:15)
at NodeFsHandler._watchWithNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:331:14)
at NodeFsHandler._handleFile (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:395:23)
at NodeFsHandler._addToNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:637:21)
Emitted 'error' event on FSWatcher instance at:
at FSWatcher._handleError (/home/user/grapesjs/node_modules/chokidar/index.js:647:10)
at NodeFsHandler._addToNodeFs (/home/user/grapesjs/node_modules/chokidar/lib/nodefs-handler.js:645:18) {
errno: -28,
syscall: 'watch',
code: 'ENOSPC',
path: '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js',
filename: '/home/user/grapesjs/node_modules/@babel/traverse/lib/hub.js'
}
Node.js v18.19.1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ERROR: "start:js" exited with 1. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Apologies if this is a 'yarn' issue but at least you will be aware of the problem.
Code of Conduct