Hi, I can not seem to load and modules. I reinstalled MM using the script but now no modules will load. Here is what I out in and the information I get back. Any help would be appreciated. I tried 3 different modules with no success. Thank you
vandam3b@raspberrypi:~ $ cd MagicMirror
vandam3b@raspberrypi:~/MagicMirror $ cd modules
vandam3b@raspberrypi:~/MagicMirror/modules $ https://github.com/jclarke0000/MMM-MyScoreboard.git
bash: https://github.com/jclarke0000/MMM-MyScoreboard.git: No such file or directory
vandam3b@raspberrypi:~/MagicMirror/modules $ pm2 install https://github.com/jclarke0000/MMM-MyScoreboard.git
[PM2][Module] Installing NPM https://github.com/jclarke0000/MMM-MyScoreboard.git module
[PM2][Module] Module already installed. Updating.
Deleting /home/vandam3b/.pm2/modules/MMM-MyScoreboard
[PM2][Module] Calling [NPM] to install https://github.com/jclarke0000/MMM-MyScoreboard.git …
added 39 packages in 22s
1 package is looking for funding
run npm fund for details
[PM2][Module] Module downloaded
ENOENT: no such file or directory, open ‘/home/vandam3b/.pm2/modules/MMM-MyScoreboard/node_modules/MMM-MyScoreboard/package.json’
node:internal/modules/cjs/loader:1051
throw err;
^
Error: Cannot find module ‘/home/vandam3b/.pm2/modules/MMM-MyScoreboard/node_modules/MMM-MyScoreboard/package.json’
Require stack:
- /usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js
- /usr/local/lib/node_modules/pm2/lib/API/Modules/Modularizer.js
- /usr/local/lib/node_modules/pm2/lib/API.js
- /usr/local/lib/node_modules/pm2/lib/binaries/CLI.js
- /usr/local/lib/node_modules/pm2/bin/pm2
at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
at Module._load (node:internal/modules/cjs/loader:901:27)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at StartModule (/usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js:343:22)
at /usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js:257:7
at /usr/local/lib/node_modules/pm2/lib/Configuration.js:68:14
at FSReqCallback.oncomplete (node:fs:189:23) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/usr/local/lib/node_modules/pm2/lib/API/Modules/NPM.js’,
‘/usr/local/lib/node_modules/pm2/lib/API/Modules/Modularizer.js’,
‘/usr/local/lib/node_modules/pm2/lib/API.js’,
‘/usr/local/lib/node_modules/pm2/lib/binaries/CLI.js’,
‘/usr/local/lib/node_modules/pm2/bin/pm2’
]
}
Node.js v20.8.0
vandam3b@raspberrypi:~/MagicMirror/modules $