AndiDittrich/NodeMCU-Tool

Not able to run the nodemcu-tool.js

Ankitr19 opened this issue · 6 comments

errorgit
Please help!!

Hi Ankit,

this seems to be an issue with the serialport package - not NodeMCU-Tool.

Please take a look onto their FAQs - in most cases such errors a caused by a missconfigured environment.
did you try to install the tool in the local folder instead of global scope ?

br, Andi

in this case you have to run npm install to fetch the dependencies...

normally a simple npm install nodemcu-tool should do the job

Please read the readme file first ;)

in case you've cloned the github repo
the "executable" file is located in ./bin/nodemcu-tool.js
https://github.com/AndiDittrich/NodeMCU-Tool#as-archive-from-github

in case of local npm installation
the "executable" file is located in ./node_modules/nodemcu-tool/bin/nodemcu-tool.js
https://github.com/AndiDittrich/NodeMCU-Tool#localproject-related-installation