• Welcome to Windows10Forum.com, a free community where people just like you come together to discuss, share and learn how to use their computers. Using this forum is easy and fun. As a guest, you can browse and view all the content on the site, however, you won't be able to leave comments or create new topics unless you create a free account. 

    Click here to Register a free account now and JOIN the discussion!

GaryFin

Problem with command script

Recommended Posts

I have a command script that runs that opens several webpages and programs automatically. It's worked great for years but lately it stops and throws an error message saying:

(node:9804) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added. Use emitter.setMaxListeners() to increase limit

Does anyone know what this means or what I ought to do about it?

Share this post


Link to post
Share on other sites

Hi buddy, I guess the issue is due to missing file/code in the said line. Do try to reupload the whole data, and then the issue will get solved 😀

 

Regards,

Rila Nov

Share this post


Link to post
Share on other sites

Same here.

I made a small batch file to open several programs when I arrive at work. One of them is Microsoft Teams. It started returning this precise error when I changed from the web app to the desktop app.

Before (no errors):

## Start.bat
ECHO Starting Microsoft Edge - Teams Web App
START "" /B microsoft-edge:
PAUSE

## Output
Starting Microsoft Edge - Teams Web App

Press any key to continue . . .

After (error "MaxListenersExceededWarning"):

## Start.bat
ECHO Starting Microsoft Teams
START "" /B "C:\Users\T\AppData\Local\Microsoft\Teams\current\Teams.exe"
PAUSE

## Output
Starting Microsoft Teams

Press any key to continue . . .
(node:11632) MaxListenersExceededWarning: Possible EventEmitter memory leak
detected. 11 appInitialized listeners added. Use emitter.setMaxListeners()
to increase limit

All answers I've seen are Javascript related, which is rather useless, as I do not control whatever Javascript is being called or its parameters.

Any help is welcome.

tao

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Who's Online   0 Members, 0 Anonymous, 15 Guests (See full list)

    There are no registered users currently online