• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-TelegramBot error

Scheduled Pinned Locked Moved Solved Troubleshooting
13 Posts 3 Posters 2.5k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    Stoffbeuteluwe Project Sponsor
    last edited by Aug 3, 2019, 8:11 PM

    Last login: Sat Aug  3 21:49:39 on ttys000
    Patricks-Mini:~ patrickhahn$ cd MagicMirror
    Patricks-Mini:MagicMirror patrickhahn$ cd modules
    Patricks-Mini:modules patrickhahn$ cd MMM-TelegramBot
    Patricks-Mini:MMM-TelegramBot patrickhahn$ npm install
    Unhandled rejection Error: EACCES: permission denied, mkdir '/Users/patrickhahn/.npm/_cacache/index-v5/a6/60'
    
    npm ERR! cb() never called!
    
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR!     <https://npm.community>
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/patrickhahn/.npm/_logs/2019-08-03T20_08_18_484Z-debug.log
    Patricks-Mini:MMM-TelegramBot patrickhahn$ 
    
    

    can anybody help me ?

    S 2 Replies Last reply Aug 3, 2019, 8:21 PM Reply Quote 0
    • ? Offline
      A Former User @Stoffbeuteluwe
      last edited by Aug 5, 2019, 8:47 AM

      @Stoffbeuteluwe
      It works on OSX well (Basically all my magicmirror modules were developed on MacBookPro)
      I agree to @sdetweil . You might have made a mistake to use sudo on making your environment.

      To solve this problem

      • delete your npm cache
      • reset the permissions of your /Users/patrickhah/.npm

      https://docs.npmjs.com/getting-started/fixing-npm-permissions
      https://docs.npmjs.com/troubleshooting/try-clearing-the-npm-cache

      Or try this;

      sudo npm cache clean -f
      
      S 2 Replies Last reply Aug 5, 2019, 10:25 AM Reply Quote 0
      • S Offline
        sdetweil @Stoffbeuteluwe
        last edited by sdetweil Aug 3, 2019, 8:22 PM Aug 3, 2019, 8:21 PM

        @Stoffbeuteluwe looks like u ran sudo npm install which marked all the folders as owned by root…

        fix
        from the MagicMirror folder do

        sudo chown -R patrickhahn .
        

        then redo your npm install for that module

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Aug 3, 2019, 8:29 PM Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor @sdetweil
          last edited by Aug 3, 2019, 8:29 PM

          @sdetweil sorry not working

          S 1 Reply Last reply Aug 3, 2019, 8:30 PM Reply Quote 0
          • S Offline
            sdetweil @Stoffbeuteluwe
            last edited by Aug 3, 2019, 8:30 PM

            @Stoffbeuteluwe what does it say?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Aug 3, 2019, 8:37 PM Reply Quote 0
            • S Offline
              Stoffbeuteluwe Project Sponsor @sdetweil
              last edited by Aug 3, 2019, 8:37 PM

              @sdetweil it says the same

              S 1 Reply Last reply Aug 3, 2019, 8:38 PM Reply Quote 0
              • S Offline
                sdetweil @Stoffbeuteluwe
                last edited by Aug 3, 2019, 8:38 PM

                @Stoffbeuteluwe ok, try this in the MagicMirror folder

                sudo chown -R patrickhahn *.*
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stoffbeuteluwe Project Sponsor
                  last edited by Aug 3, 2019, 8:43 PM

                  it is still the same error

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Stoffbeuteluwe
                    last edited by Aug 3, 2019, 8:44 PM

                    @Stoffbeuteluwe sorry, dumb

                    in the users home folder, not from MagicMirror…

                    my mistake

                    cd ~
                    sudo chown -R patrickhahn *.*
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 2 Replies Last reply Aug 3, 2019, 8:58 PM Reply Quote 0
                    • S Offline
                      Stoffbeuteluwe Project Sponsor @sdetweil
                      last edited by Aug 3, 2019, 8:58 PM

                      @sdetweil it is the same…I will try again tomorrow thank you

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Stoffbeuteluwe Project Sponsor @sdetweil
                        last edited by Aug 5, 2019, 6:43 AM

                        @sdetweil now I have a new install off MM but still the same problem. Maybe the module doesn’t work on Mac

                        ? 1 Reply Last reply Aug 5, 2019, 8:47 AM Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        1 / 2
                        • First post
                          1/13
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy