Yes, I’ve been in the modules folder when I did the git pull and npm install.
Read the statement by Michael Teeuw here.
Latest posts made by DarthWerner
-
RE: Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json
-
RE: Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json
@sdetweil said in Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json:
git pull && npm install
Thank you Sam,
I think we’re running into a version problem:
*```
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: magicmirror@2.34.0
npm error notsup Not compatible with your version of node/npm: magicmirror@2.34.0
npm error notsup Required: {“node”:“>=22.21.1 <23 || >=24”}
npm error notsup Actual: {“npm”:“11.3.0”,“node”:“v22.14.0”} -
RE: Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json
Thank you Sam,
I did it like this:
“homepage”: “https://github.com/cbrooker/MMM-Todoist#readme”,
“scripts”:{},
“dependencies”: {
“axios”: “^1.6.0”,
“showdown”: “^2.0.1”and it tells me now that the install-mmm is missing.
*wb@MagicMirror:~/MagicMirror/modules/MMM-Todoist $ sudo git pull && node --run install-mm
Already up to date.
Missing script: “install-mm” for /home/wb/MagicMirror/modules/MMM-Todoist/package.jsonAvailable scripts are:
wb@MagicMirror:~/MagicMirror/modules/MMM-Todoist $ node -v
v22.14.0*All I did was a Module Update as I did many times before.
-
Can't find "scripts" field in /MagicMirror/modules/MMM-Todoist/package.json
Hi Community,
I’m having some trouble with my Todoist Module in MM since iI updated The module this week. MM and the Module itself are the latest release version and I get this message after my update:
Can’t find “scripts” field in /MagicMirror/modules/MMM-Todoist/package.json
Anyone else having problems like this?
Would be happy to get some help with this .
Thank you in advance