Read the statement by Michael Teeuw here.
Traffic on absolute or relative basis and traffice reports with TomTom (MMM-TomTomTrafficIncidents)
-
Hi @Travelbacon ,
I tried installing your module as per the code your post on the TomTom Dev forums but got this:When removing the ./ I could install it, but still getting the same errors:
and like you I can’t understand where the double forward slash comes from as it’s installed in the correctly named directory
-
@robertybob you go to the github site for the module, and click tyhe green code down button
then you click the icon that looks like a clipboard , which copies the URL to the clipboard
then u go to your terminal window, with the ~/MagicMirror/modules as the current folder and type
git clone
and then paste the from the clipboard to get
git clone https://github.com/Travelbacon/MMM-TomTomTrafficIncidents.git
and u hit enter
NOTHING after the pasted urll
this is the SAME for EVERY module
-
@robertybob you should enable ssh on the pi, and then you can open an ssh terminal window on your pc machine
also get winscp or bitvise ssh clients, then you can have a file manager view of files on the pi and double click to edit
with your favorite pc editor (I use notepad++)this will make it so that almost NEVER have to use a keyboard/mouse ON the pi itself…
-
@sdetweil Hi Sam, I’m doing just that - Putty and WinSCP :) (see above screenshots from said programs)
-
@robertybob
The strangest thing is that the module refers to /modules/MM-TomTomTrafficIncidents!!//!!MM-TomTomtrafficincidents.js.On the TomTom forum we saw that you used sudo to read files. Don’t use root privileges to edit or view files. Alle the files in MM are from the user pi in the group users. To avoid potential user right issues, I asked to delete the whole moduel and clone a new one. Just sdetweil told you.
Because the module sees two slashes, I start think that a config in the module is not working. Did you test any other module for the MM? To see if these works. It could be that a small user handling goes wrong, but perhaps there is in deed an issue in my code. Although I tested it on a new MM installation.