Read the statement by Michael Teeuw here.
MMM-Stock Cannot read property 'toLowerCase'
-
@sdetweil Load script: modules/MMM-Stock//MMM-Stock.js
module.js:517 Module registered: MMM-Stock
loader.js:148 Bootstrapping module: MMM-Stock
loader.js:153 Scripts loaded for: MMM-Stock
loader.js:195 Load stylesheet: modules/MMM-Stock/MMM-Stock.css
loader.js:155 Styles loaded for: MMM-Stock
loader.js:157 Translations loaded for: MMM-Stock -
-
@sdetweil yes, and I remember there being a delay before when it worked (around 5 mins) , but never this long as I am yet to see it, but here is the config
{
module: “MMM-Stock”,
position: “bottom_right”,
config: {
companies: [“SPY”, “GME”, “AMC”, “NOK”, “BB”]
}
}, -
@sdetweil Could you try running it with both my config entry and MMM-stock.js entry I’ve posted and let me know if it works for you?
-
@brendan_c23 I have been doing that… it worked before, and doesn’t work now…
the node_helper request for the stock info says that the response isn’t right…
-
@sdetweil What do you think it could be? I am going to try copying original .js from hakanmhmd and make sure I didnt make any small changes I wasnt aware of , or maybe just delete and try to re download it
-
[06.03.2021 12:14.17.736] [LOG] stock processing request urls=["https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=MSFT&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=GOOG&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=ORCL&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=FB&apikey=xxxxxxxxxxxxxxxxx","https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&outputsize=compact&symbol=AAPL&apikey=xxxxxxxxxxxxxxxxx"] [06.03.2021 12:14.17.828] [LOG] stock received request response [06.03.2021 12:14.17.828] [LOG] stock request response no meta info
the api is not returning the data expected… it was working for before with that one little change…
I have tried all kinds of updates, but nothing resolves this issue…
the module sent the request to the node helper, the helper is working thru the list, but never gets a good response -
@brendan_c23 Not completely sure on how to delete a module though, my Pi4 doesnt give me the option when right-clicking on the folder
-
@brendan_c23 from the MagicMirror/modules folder
rm -rf module_folder_name
careful, rf - recursive force… get the wrong folder and there is no recovery
-
@sdetweil Do you think I should delete it then redownload? Might be the companies… although they have worked before