Read the statement by Michael Teeuw here.
MMM-TelegramBot error
- 
 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 ? 
- 
 @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 usesudoon 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-cacheOr try this; sudo npm cache clean -f
- 
 @Stoffbeuteluwe looks like u ran sudo npm install which marked all the folders as owned by root… fix 
 from the MagicMirror folder dosudo chown -R patrickhahn .then redo your npm install for that module 
- 
 @sdetweil sorry not working 
- 
 @Stoffbeuteluwe what does it say? 
- 
 @sdetweil it says the same 
- 
 @Stoffbeuteluwe ok, try this in the MagicMirror folder sudo chown -R patrickhahn *.*
- 
 it is still the same error 
- 
 @Stoffbeuteluwe sorry, dumb in the users home folder, not from MagicMirror… my mistake cd ~ sudo chown -R patrickhahn *.*
- 
 @sdetweil it is the same…I will try again tomorrow thank you 
- 
 @sdetweil now I have a new install off MM but still the same problem. Maybe the module doesn’t work on Mac 

