mseminatore / TeslaJS

An Unofficial Tesla API library for NodeJS
https://www.teslajs.org
MIT License
411 stars 102 forks source link

Server run file #358

Closed zerocooling closed 9 months ago

zerocooling commented 9 months ago

Where is the file so that I start node js server ? Thank you

github-actions[bot] commented 9 months ago

Thank you for reporting this issue!

mseminatore commented 9 months ago

TeslaJS is a library, not a server application. Several example apps are provided that can be run under Node.

zerocooling commented 9 months ago

Thank you for answering me quickly.

I came out the errors, when I run login.js

Error: Cannot find module 'colors'

Do you know how I can solve this problem ?

mseminatore commented 9 months ago

Did you read the documentation about installing dependencies?

To install dependencies via npm, from the root level of the library directory type:

npm install
zerocooling commented 9 months ago

I am a begineer, but I am really thank you !