Read the statement by Michael Teeuw here.
Error on loading script "...//MMM-name.js"
-
Hi,
I have developed a new module. Everything works wonderfully on my mirror. I uploaded the module to github and offered it there:
https://github.com/spitzlbergerj/MMM-TeslaLoggerNow others have loaded the module via git clone and got an error:
loader.js cannot load /modules/MMM-TeslaLogger//MMM-TeslaLogger.jsI can reproduce the error after a git clone on my mirror too. But I cannot find where the second “/” has crept in.
What could be the reason for this?
thanks a lot
Josef
-
@sdetweil many thanks!
The wrong spelling was the right track. In the installation instructions I had written:
git clone https://github.com/spitzlbergerj/MMM-Teslalogger cd MMM-Teslalogger npm installBut it must be called (capital L)
git clone https://github.com/spitzlbergerj/MMM-TeslaLogger cd MMM-TeslaLogger npm install -
@spitzlbergerj it loaded fine for me…
I had typed the module name wrong in the config.js once. TestlaLogger
make sure the folder has the exact right name
the second / is not a problem…MM adds it
I had put this in my config.js
{ module:"MMM-TeslaLogger", config:{ } }, -
@sdetweil many thanks!
The wrong spelling was the right track. In the installation instructions I had written:
git clone https://github.com/spitzlbergerj/MMM-Teslalogger cd MMM-Teslalogger npm installBut it must be called (capital L)
git clone https://github.com/spitzlbergerj/MMM-TeslaLogger cd MMM-TeslaLogger npm install
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