This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
MaxListenersExceededWarning when use postinstall #18
Closed
Description
os: Manjaro Linux x86_64
node: 10.1.0
npm: 6.1.0 (npm-lifecycle@2.0.3)
I create a "postinstall script" in node_modules/.hooks
, and then run npm install
> asap@2.0.6 postinstall /home/keenwon/Test/ci-test/node_modules/asap
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> encoding@0.1.12 postinstall /home/keenwon/Test/ci-test/node_modules/encoding
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> core-js@1.2.7 postinstall /home/keenwon/Test/ci-test/node_modules/fbjs/node_modules/core-js
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> foreach@2.0.5 postinstall /home/keenwon/Test/ci-test/node_modules/foreach
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> function-bind@1.1.1 postinstall /home/keenwon/Test/ci-test/node_modules/function-bind
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> has@1.0.1 postinstall /home/keenwon/Test/ci-test/node_modules/has
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> is-callable@1.1.3 postinstall /home/keenwon/Test/ci-test/node_modules/is-callable
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> is-date-object@1.0.1 postinstall /home/keenwon/Test/ci-test/node_modules/is-date-object
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
(node:32402) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase limit
> is-regex@1.0.4 postinstall /home/keenwon/Test/ci-test/node_modules/is-regex
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
> is-symbol@1.0.1 postinstall /home/keenwon/Test/ci-test/node_modules/is-symbol
> /home/keenwon/Test/ci-test/node_modules/.hooks/postinstall
# ....
Metadata
Metadata
Assignees
Labels
No labels