HELP WITH MMM-Flickr



  • I can’t seem to get the coding right when i add the code to config i get create a config i have ran through jshint and it states need semicolon on 18 and 19. there is one there so I’m not sure here is my code and of course i removed my id for security

    {
        		module: 'MMM-Flickr',
        		position: 'bottom_center',
       			config: {
           				id: ‘MYID@N02',
            		animationSpeed: 2500,  
            		updateInterval: 10000
            		size: 'm' //Default is m, can be o=original, t=thumbnail, s= 		75x75, b=1024
        		}
    		},
    

    Note from admin: Please use Markdown on code snippets for easier reading!



  • another thing but not sure here is ssh message from nam install does this look right i wasn’t sure which older to install so i did both

    pi@raspberrypi:~/MagicMirror/modules $ npm install
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json'
    npm WARN modules No description
    npm WARN modules No repository field.
    npm WARN modules No README data
    npm WARN modules No license field.
    pi@raspberrypi:~/MagicMirror/modules $ cd ..
    pi@raspberrypi:~/MagicMirror $ cd ..
    pi@raspberrypi:~ $ npm install
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
    npm WARN pi No description
    npm WARN pi No repository field.
    npm WARN pi No README data
    npm WARN pi No license field.
    

    Note from admin: Please use Markdown on code snippets for easier reading!


  • Moderator

    @bluecaka69
    Hi. There is a comma missing after the value 10000. Additionally there is a wrong ’ in front of your ID.

    The command npm install needs to be run inside the module folder ~/MagicMirror/modules/MMM-Flickr



  • @yawns sorry about markdown i didn’t realize how to use it as Im pretty new

    I added the comma after 10000, not sure what you mean by wrong ’ in front of your ID. is there different ’ to use

    again thanks for you help i do appreciate it

    SO i installed npm install here and it ran properly

    pi@raspberrypi:~/MagicMirror/modules/MMM-Flickr $ npm install
    Magic-Mirror-Module-Flickr@1.0.0 /home/pi/MagicMirror/modules/MMM-Flickr```


  • @yawns thank you I got it it… must be something to do with textedit on mac when i put it the ’ it changes it from the code


  • Moderator

    Indeed, we see this a lot with Mac users.
    So, it is working for you now?



  • @yawns yes it is working great thanks again



  • @yawns dumb ? prolly. i am getting notice to update the module, is there a command to auto update??


  • Moderator

    Open a Terminal:

    cd ~/MagicMirror/modules/MMM-Flickr
    git pull
    npm install
    


  • thank you i want sure if a general sudo apt-get update or sudo apt-get dist-upgrade
    would work… thanks again I hope to one day be able to help others !!!


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.