System Information
- Strapi Version: 3.2.4
- Operating System: macOS High Sierra 10.13.6
- Database: SQLite 5.0.0, PostgreSQL 8.4.1
- Node Version: 12.18.4
- NPM Version: >=6.0.0
- Yarn Version: 1.22.4
I installed a node package date-streaks
to my app successfully, but when starting server again, got an error that Cannot find module 'strapi-utils'
. Decided to uninstall the package, it uninstalled fine, but after that, starting up my server again gives this warning:
(node:6099) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
Doing node --trace-warnings
, I got these:
Warning: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit
at repl:1:9
at Script.runInThisContext (vm.js:120:18)
at REPLServer.defaultEval (repl.js:433:29)
at bound (domain.js:427:14)
at REPLServer.runBound [as eval] (domain.js:440:12)
at REPLServer.onLine (repl.js:760:10)
at REPLServer.emit (events.js:327:22)
at REPLServer.EventEmitter.emit (domain.js:483:12)
at REPLServer.Interface._onLine (readline.js:329:10)
at REPLServer.Interface._line (readline.js:658:8)
Most of the .js files seems to be coming from /node_modules/pretty-error/
:
module.exports = [
'_debugger.js'
'_http_agent.js'
'_http_client.js'
'_http_common.js'
'_http_incoming.js'
'_http_outgoing.js'
'_http_server.js'
'_linklist.js'
'_stream_duplex.js'
'_stream_passthrough.js'
'_stream_readable.js'
'_stream_transform.js'
'_stream_writable.js'
'_tls_legacy.js'
'_tls_wrap.js'
'assert.js'
'buffer.js'
'child_process.js'
'cluster.js'
'console.js'
'constants.js'
'crypto.js'
'dgram.js'
'dns.js'
'domain.js'
'events.js'
'freelist.js'
'fs.js'
'http.js'
'https.js'
'module.js'
'net.js'
'os.js'
'path.js'
'punycode.js'
'querystring.js'
'readline.js'
'repl.js'
'smalloc.js'
'stream.js'
'string_decoder.js'
'sys.js'
'timers.js'
'tls.js'
'tty.js'
'url.js'
'util.js'
'vm.js'
'zlib.js'
'node.js'
]
I researched on Stack Overflow, but still unsure where the issue is and which file I need to fix.
Where do I even start to debug this? Any general advice appreciated!