Read the statement by Michael Teeuw here.
Modules aren't showing, npm error
-
3rd party modules aren’t showing or changes made in config.js is not working.
npm run config:check:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/pi/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoentNewbie with magic mirror, any advice/directives appreciated.
Thanks!
-
@M3GNOON said in Modules aren't showing, npm error:
/home/pi/package.json
you need to be in the MagicMirror folder
cd ~/MagicMirror
-
Thanks! Ran the check in /MagicMirror and all is well.
Still having issues with the 3rd party modules.
I added a few to test with MMPM but do not see them displaying.
-downloaded from market place page and see in local packages page but modules do not display and are not added into the config file.Am I missing a step?
-
Go back and double check that you followed their readme exactly. There’s specific instructions to follow for each module. They must also appear in your config, if that’s not clear from the readme.
-
@BKeyport He is using the MMPM module install tool… which reads the 3rd party module list, will download and install and etup config.js
-
Correct using MMPM. Wanted to see how it works and seemed easy enough to just click to download and install module and auto adds to config. I do see it was downloaded into the module dir but nothing in the config.js.
Going to do so manually in cli but still interested in why this isn’t working using MMPM.
-
@M3GNOON you will have to ask the mmpm author, and post issue to his github page
https://github.com/Bee-Mar/mmpm -
Ugh. I’d personally drop the tool and do it manually. It’s not that hard, honestly.
-