stoqey / ib

Interactive Brokers TWS/IB Gateway API client library for Node.js (TS)
https://stoqey.github.io/ib-doc/
MIT License
212 stars 47 forks source link

TypeError: path.resolve is not a function #184

Closed calelloa closed 3 weeks ago

calelloa commented 1 year ago

I am trying to use the api in a nextjs project and this error appears.

I am not sure if I can use this api to obtain information of IB using IB gateway.

Thanks.

cmmartin commented 10 months ago

This is a node.js library. It's meant to be run on a server not a browser. You can use it in nextjs but only in server side code (api routes or getServerSideProps, etc)

rylorin commented 3 weeks ago

Closed, not an Api Next issue.