AndiDittrich / NodeMCU-Tool

:wrench: Upload + Manage Lua files on NodeMCU
https://www.npmjs.com/package/nodemcu-tool
MIT License
310 stars 54 forks source link

Invalid module entry file #55

Closed LanFly closed 5 years ago

LanFly commented 5 years ago

fixed: fix the main filed so that the program can get the correct entry via require('nodemcu-tool')

Hi, thanks you for providing such a useful and free tool. I am using your tool to develop a software and are also ready to offer it to the community for free.

But during the period I encountered some problems and spent a little time to solve the problem, Finally, I found that the main field in the package is wrong. I don't know why you want to set the value of this field to this, or you may have accidentally made a mistake.

Finally, I modified this value and it works fine in my program.

AndiDittrich commented 5 years ago

Hi @LanFly ,

thanks for your report. of course this is an error.