@cade72 said in code issue:
> node tests/configs/check_configs.js
one too many ‘s’…
node tests/configs/check_config.js
my error…
@cade72 said in code issue:
> node tests/configs/check_configs.js
one too many ‘s’…
node tests/configs/check_config.js
my error…
n64 - Austin, Texas
n70 - Dallas, Texas
n104 - Houston, Texas
n394 - Albuquerque, Nm
N197 - Phoenix, Az
My city isn’t listed in search results
go back to the dev console, npm start dev, or ctrl-shift-i, then select console tab, and see if there is an error on the browser side, where the video will actually play…
looks like its state is out of sync… (thinks its neither playing nor stopped)…
getting stop fixes it…
@mwel1977 said in Error on starting MM2: module not present:
Can’t I just remove the MMM-Swipe module and reinstall it?
sure… but u said that didn’t work before…
the package.json in MMM-Swipe is looking for electron version 1.2.1, very old…
I would edit the file before running npm install in the MMM-Swipe folder and chaneg the version to match
whatever electron verison is installed already…
MM/node_modules/electron/package.json
“version”: “2.0.13”
the MMM-Swipe package.json to
change
devDependencies": {
"electron-rebuild": "^1.2.1"
}
to
devDependencies": {
"electron-rebuild": "^x.y.z" === the electron version number above
}
and for the future, if u have problems with config.js syntax errors, in the MagicMirror folder run
node tests/configs/check_config.js
it will report the problems. start & fix from the top
edit: wrong name for the checker… (removed extra s on the end)
@robiv8 right. In many cases the authors hope that users will jump in and modify the code and submit it back… as this is all volunteer work.
welcome to open source
@mwel1977 step 3, in the modules/MMM-Swipe folder,
npm install MMM-usonic
Then same folder,
npm rebuild MMM-usonic
@axel he said
you can try to run that script manually by typing ./startcam.sh.
he left off that you need to mark the script as executable
chmod +x ./startcam.sh
@mwel1977 just erase the one in /home/pi (rm -rf node_modules) and then start from the MM folder,
then erase node_modules, then do npm install, then switch to MMM-Swipe and do npm install,
then npm rebuild MMM-usonic
no need to wipe and start over…
@bibi 1 added a calendar entry for later the same day as I was configing the dual calendars…
long as public, all ok…
yes, you need different IDs for the calendar definitions