codetheweb / MMM-AnyList

Magic Mirror module to display AnyList data
11 stars 5 forks source link

Unable to get this module to display #25

Open w2rgh opened 3 years ago

w2rgh commented 3 years ago

I have tried about all I know to do but it refuses to display. Does this require an actual subscription on AnyList? I have the basic free subscrip and the app on my phone and Alexa integration work fine. MM2 loads fine no errors. I added a header: "The List" to the module config: but it does not show up on my MM2 display. Tried moving positions nothing. image Thanks Rick

codetheweb commented 3 years ago

It does not require a subscription. Is there anything in the server-side or browser logs?

w2rgh commented 3 years ago

Thanks for the reply. On browser no errors noted... Load script: modules/MMM-AnyList//MMM-AnyList.js module.js:517 Module registered: MMM-AnyList loader.js:148 Bootstrapping module: MMM-AnyList loader.js:153 Scripts loaded for: MMM-AnyList loader.js:195 Load stylesheet: modules/MMM-AnyList/MMM-AnyList.css loader.js:155 Styles loaded for: MMM-AnyList loader.js:157 Translations loaded for: MMM-AnyList

Where can I find the server side log? I dug but did not come up with anything. Thanks again, Rick

codetheweb commented 3 years ago

It depends how you started the process. This might help: https://gist.github.com/lavolp3/db7de8c0664ba95e8b9247ba685095fe#22---debugging-node_helper

w2rgh commented 3 years ago

Still hacking at this and decided to reinstall, found this...

_**# Run npm update normalize-url --depth 4 to resolve 1 vulnerability

High ReDoS in normalize-url

Package normalize-url

Dependency of anylist

Path anylist > got > cacheable-request > normalize-url

More info https://github.com/advisories/GHSA-px4h-xg32-q955**_

found 2 vulnerabilities (1 moderate, 1 high) in 574 scanned packages run npm audit fix to fix 1 of them. 1 vulnerability requires semver-major dependency updates.

Ran npm audit fix --force and got this reply... npm WARN @electron/remote@1.2.2 requires a peer of electron@>= 10.0.0-beta.1 but none is installed. You must install peer dependencies yourself. npm WARN @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself. npm WARN eslint-plugin-jsdoc@30.7.13 requires a peer of eslint@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself. npm WARN mocha-logger@1.0.7 requires a peer of mocha@^8.1.3 but none is installed. You must install peer dependencies yourself.

Dependency issue but I am in over my head! Rick

codetheweb commented 3 years ago

Those dependency warnings shouldn't matter, at least not for this module.

w2rgh commented 3 years ago

Thanks I resolved those and your right it made no difference. Still AnyList not showing. I intentionally provided an incorrect password in config.js for AnyList, I got no errors so seems all to point to the module is not attempting to connect to AnyList site. I am at ropes end. Thanks for the help, Rick

codetheweb commented 3 years ago

Not sure what it could be then, sorry. I think you need to look at the server side logs.