Read the statement by Michael Teeuw here.
MMM-MQTT/MMM-TeslaLogger - Cleanup JS - help needed
-
Hi,
I have used MMM-MQTT as the basis for my MMM-TeslaLogger module. In MMM-MQTT there is an own local directory node_modules. At first sight this local dir is identical with the dir node_modules in the root directory of Magic Mirror.
I now try to get rid of the local dir node_modules in my module. But I do not succeed.
In MMM-TeslaLogger.js I only found one reference to the local node_modules, namely jsonpointer.js. This is also the case in MMM-MQTT.
But if I change this reference to the node_modules in the Magic Mirror root, the module doesn’t run anymore and partly generates error messages. The pm2 log also shows error messages for the node_helper. These seem to refer to the line after the last line of the file ???
I am a JavaScript Newbee and can’t get any further. Can someone please take a look at this?
Unfortunately I don’t have access to the error messages right now - sorry. I will deliver them later.
I would be very grateful for any help.
Regards
Josef
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login