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

ErrorCaptureStackTrace(err) #33

Open
Cr0w1ey opened this issue Jul 26, 2021 · 9 comments
Open

ErrorCaptureStackTrace(err) #33

Cr0w1ey opened this issue Jul 26, 2021 · 9 comments

Comments

@Cr0w1ey
Copy link

Cr0w1ey commented Jul 26, 2021

I'm sure I'm doing something wrong, but when setting up optical-breacher in my Docker environment on a Pi (linux/arm/v7), I get the following error:

yarn run v1.22.5,
$ webpack serve --open,
<i> [webpack-dev-server] Generating SSL Certificate,
(node:28) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.,
(Use `node --trace-deprecation ...` to show where the warning was created),
<i> [webpack-dev-server] Project is running at https://172.17.0.8:1234/,
<i> [webpack-dev-server] Content not from webpack is served from /home/node/app,
<i> [webpack-dev-server] 404s will fallback to /index.html,
node:internal/errors:456,
    ErrorCaptureStackTrace(err);,
    ^,
,
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/node/app/node_modules/enquirer/lib/placeholder.js',
    at FSWatcher.<computed> (node:internal/fs/watchers:244:19),
    at Object.watch (node:fs:2237:34),
    at createFsWatchInstance (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:119:15),
    at setFsWatchListener (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:166:15),
    at NodeFsHandler._watchWithNodeFs (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:331:14),
    at NodeFsHandler._handleFile (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:395:23),
    at NodeFsHandler._addToNodeFs (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:628:21),
Emitted 'error' event on FSWatcher instance at:,
    at FSWatcher._handleError (/home/node/app/node_modules/chokidar/index.js:641:10),
    at NodeFsHandler._addToNodeFs (/home/node/app/node_modules/chokidar/lib/nodefs-handler.js:636:18) {,
  errno: -28,,
  syscall: 'watch',,
  code: 'ENOSPC',,
  path: '/home/node/app/node_modules/enquirer/lib/placeholder.js',,
  filename: '/home/node/app/node_modules/enquirer/lib/placeholder.js',
},
error Command failed with exit code 1.,
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

It's not the end of the world, I just figured I could put the load internally rather than having to go out to the 'net each time I try to breach. Thank you for your wonderful tool!!

@marksman4103
Copy link

marksman4103 commented Jul 26, 2021 via email

@marksman4103
Copy link

marksman4103 commented Jul 26, 2021 via email

@Cr0w1ey
Copy link
Author

Cr0w1ey commented Jul 26, 2021

Thanks for the advice, but I think you might've misunderstood the issue? I'm not installing the app as a PWA; I'm trying to run it locally on a docker instance so I can self-host it.

@govizlora
Copy link
Owner

govizlora commented Aug 22, 2021

Seems related to file update watching from webpack dev server. It might have some compatiblity issue with your system. You should search System limit for number of file watchers reached for more info.

Meanwhile, if you don't need the real time watch, you can also run yarn build once then host the website using other tools such as http-server or nginx

@Cr0w1ey
Copy link
Author

Cr0w1ey commented Sep 15, 2021

Many thanks for the info. I'll keep plugging away at it and feed back if I get to the bottom of it. So far, awslabs/amazon-eks-ami#501 seems to be an interesting lead.

@marksman4103
Copy link

You using node

@marksman4103
Copy link

If idk my hubbies back from Afghanistan sometime next year he’s the brains

@marksman4103
Copy link

You must use node and yarn but sometimes it miss reads becauseA-B-C-D was dummied by e in E-A-B-C-D which sometimes misread 55 as 5 or 55 as 1c it’s under 50% chance without the dimmie

@marksman4103
Copy link

Sorry 50% hit chance without added dummie

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

3 participants