Read the statement by Michael Teeuw here.
MMM-TelegramBot error
-
@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
-
@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 usesudo
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-cacheOr try this;
sudo npm cache clean -f
-
@Sean what I doing wrong when installing magic mirror or npm
-I do the manual install…from MM site
-I download node js and install- I install pm2
- than I install modules
-
@Sean works thank you 🙏