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

(node:6781) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 task_stop listeners added. Use emitter.setMaxListeners() to increase limit #814

Open
D3MZ opened this issue Apr 1, 2018 · 2 comments

Comments

@D3MZ
Copy link

D3MZ commented Apr 1, 2018

  1. Can't run on localhost on Mac OS for some reason.
  2. Gulp stuck at max CPU

Here's my process:

  1. Install NodeJs
  2. git clone https://github.com/ampproject/ampstart.git
  3. cd ampstart
  4. npm i

Any help would be appreciated.

ampstart $ node -v
v9.2.0
ampstart $ npm run serve

> kickstart@ serve /Users/z/Documents/Work/GitHub/webdefrag/ampstart
> gulp serve

[16:38:35] Using gulpfile ~/Documents/Work/GitHub/webdefrag/ampstart/gulpfile.js
[16:38:35] Starting 'build:dev'...
[16:38:35] Starting 'escape'...
[16:38:36] Finished 'escape' after 167 ms
[16:38:36] Starting 'img'...
[16:38:40] Finished 'img' after 4.74 s
[16:38:40] Starting 'templateapi'...
[16:38:40] Finished 'templateapi' after 29 ms
[16:38:40] Starting 'postcss'...
[16:38:59] Finished 'postcss' after 19 s
[16:38:59] Starting 'posthtml'...
[16:39:00] Finished 'posthtml' after 1.26 s
[16:39:00] Starting 'www'...
[16:39:01] Finished 'www' after 680 ms
[16:39:01] Finished 'build:dev' after 26 s
[16:39:01] Starting 'watch:dev'...
[16:39:29] Finished 'watch:dev' after 28 s
[16:39:29] Starting 'serve'...
[16:39:29] Webserver started at http://localhost:8000
[16:39:29] Finished 'serve' after 12 ms
[16:39:30] Starting 'build:dev'...
[16:39:30] Starting 'escape'...
[16:39:33] Finished 'escape' after 2.88 s
[16:39:33] Starting 'img'...
[16:39:39] Finished 'img' after 5.9 s
[16:39:39] Starting 'templateapi'...
(node:6781) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 task_stop listeners added. Use emitter.setMaxListeners() to increase limit
(node:6781) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 task_err listeners added. Use emitter.setMaxListeners() to increase limit

localhost
gulp

@ericlindley-g
Copy link
Contributor

Thanks for reaching out, @D3MZ , and apologies for the delay. I'm not sure who has bandwidth at the moment to take a look, but /cc @aghassemi @jpettitt @camelburrito for visibility.

@camelburrito
Copy link
Collaborator

@D3MZ - try using firbase serve instead (if you have firebase), and use gulp watch. I did notice the weirdness last time i used gulp serve, i thought it was a one off thing.

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