Comments (1)
Please ignore it because I fixed it here:
In this post I saw a guy talking about npm doctor
https://stackoverflow.com/questions/76943688/maxlistenersexceededwarning-when-installing-or-creating-node-js-projects-on-maco
When I ran it here it asked me to update npm and node (even though my nodejs is recent)
$ npm doctor
Check Value Recommendation/Notes
npm ping ok
npm -v not ok Use npm v10.6.0
node -v not ok Use node v20.12.2 (current: v20.5.1)
npm config get registry ok using default registry (https://registry.npmjs.org/)
git executable in PATH ok /usr/bin/git
global bin folder in PATH ok /home/nvieira/.nvm/versions/node/v20.5.1/bin
Perms check on cached files ok
Perms check on local node_modules ok
Perms check on global node_modules ok
Perms check on local bin folder ok
Perms check on global bin folder ok
npm WARN verifyCachedFiles Content garbage-collected: 54 (79820274 bytes)
npm WARN verifyCachedFiles Cache issues have been fixed
Verify cache contents ok verified 1020 tarballs
npm ERR! Some problems found. See above for recommendations.
npm ERR! A complete log of this run can be found in: /home/nvieira/.npm/_logs/2024-04-29T14_19_19_197Z-debug-0.log
So I updated node and npm here, and it worked.
When I ran it again but with nodemon, the problem appeared.
I had to update nodemon and then the problem disappeared
However, on pm2 the problem is still happening (always only on binance).
I updated but the problem continued.
Even though it is not recommended
I added:
const { EventEmitter } = require('events');
EventEmitter.defaultMaxListeners = 13;
13 was the best value to avoid errors.
I'll consider it closed for now because maybe a future pm2 update will solve it
After all, updating the node and nodemon cli solved the problem
from ccxt.
Related Issues (20)
- C# Bitfinex2: System.InvalidCastException : Unable to cast object of type 'System.Collections.Generic.List`1[System.Object]' to type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' HOT 9
- RequestTimeout: kucoin GET https://api.kucoin.com/api/v3/currencies request timed out (30000 ms) HOT 3
- C# Bitfinex2 CreateOrder -> parseOrder returns empty Order object HOT 3
- i'm try to do a code, it use ccxt to create a bot trading in ftx, but it occur (Exception has occurred: AttributeError module 'ccxt' has no attribute 'ftx'. AttributeError: module 'ccxt' has no attribute 'ftx'). What shuold i do? . My code:exchange = ccxt.ftx({ "apiKey": secret.PUBLIC_KEY, "secret": secret.SECRET_KEY }) HOT 1
- error in ccxt HOT 1
- error when import talib HOT 1
- C# Bitstamp CreateOrder Content-Type header is not accepted + wrong nonce generation HOT 4
- Bitget order subscription duplication. C# HOT 3
- How to make BBO orders in Binance? Sell & Buy HOT 3
- InvalidNonce bitfinex2 invalid checksum HOT 9
- Bitget some of subscription are misssed. C# HOT 2
- race condition during auth HOT 4
- [Typescript] Not all types are being exported HOT 4
- BitMEX - watch_order_book error once a day - safe_string default value NoneType and operation of return is to append a string HOT 2
- Order side invalid error on Kucoin HOT 2
- C# WatchOrders Hyperliquid Subscriptions HOT 7
- coinbase advanced; fetch_accounts_v3 pagination doesn't work HOT 5
- [Bug][fetchTransfers] Binance - fetchTransfers seems to return only transfers from the Spot account to the Linear (Margin) account but not the other way around HOT 4
- error in ECS(VPS):ccxt.base.errors.ExchangeNotAvailable: binance GET https://api.binance.com/api/v3/exchangeInfo HOT 1
- Inconsistent Ticker Data for Bybit linear futures via websockets HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccxt.