assemblee-virtuelle / assemblee-virtuelle/semapps

Erreur MaxListenersExceededWarning

Open
#890 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
103
Forks
14
Avg merge
1m
Merged PRs (30d)
2

Description

## Erreur

J'avais pas mal d'erreur de ce type:

```
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. Use emitter.setMaxListeners() to increase limit.
```

## Solution

En lançant node avec l'option `--trace-warning`, j'ai pu remonter au package `jsonld`.

```
node --trace-warnings node_modules/moleculer/bin/moleculer-runner.js --repl --hot services
```

En le downgradant de la version 5.2 à 3.3.2, les erreurs disparaissent. Je pense donc qu'un bug a été introduit dans les versions plus récentes. A observer, et éventuellement à signaler.

_(Posté ici pour mémoire)_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning with node --trace-warnings and node_modules/moleculer/bin/moleculer-runner.js using the --repl and --hot services options. Compare the behavior with jsonld 5.2 and 3.3.2, then use the trace to identify the source and determine whether an actionable fix or upstream report is needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.