Read the statement by Michael Teeuw here.
[MMM-JaST] Just another Stock Ticker (new: version 2.x)
-
Hi @jalibu ,
It works (for the most of my Stocks). The ticker is showing me the correct value but not an increase/decrease in percent (for 2 of 10 stocks).
can you help me with this error message?
thank you in advance!
0|mm | [31.03.2021 11:25.10.250] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:58 0|mm | stocks: [ 0|mm | ^^^^^^ 0|mm | 0|mm | SyntaxError: Unexpected identifier 0|mm | at Module._compile (internal/modules/cjs/loader.js:896:18) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10) 0|mm | at Module.load (internal/modules/cjs/loader.js:816:32) 0|mm | at Module._load (internal/modules/cjs/loader.js:728:14) 0|mm | at Function.Module._load (electron/js2c/asar.js:748:26) 0|mm | at Module.require (internal/modules/cjs/loader.js:853:19) 0|mm | at require (internal/modules/cjs/helpers.js:74:18) 0|mm | at loadConfig (/home/pi/MagicMirror/js/app.js:70:12) 0|mm | at App.start (/home/pi/MagicMirror/js/app.js:217:3) 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:129:7) 0|mm | [31.03.2021 11:25.11.849] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [31.03.2021 11:28.30.123] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [31.03.2021 11:34.45.284] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 0|mm | [31.03.2021 11:41.15.680] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
-
:man_facepalming: As I have read so many times here on the forum… Read. The. Instructions. Thanks!!!
-
I am very new to all of this but have been able to install every module so far. I had the old one working fine until the other day when it would not update the stocks. Then I discovered it was updated so I removed the old one and installed the new one as directed. I copied the config file directly to the config.js but I keep getting an error. When I run the config check it keeps coming back as below:
pi@raspberrypi:~/MagicMirror $ npm run config:check > magicmirror@2.14.0 config:check /home/pi/MagicMirror > node js/check_config.js [01.04.2021 06:41.32.155] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [01.04.2021 06:41.32.210] [ERROR] Your configuration file contains syntax errors :( [01.04.2021 06:41.32.212] [ERROR] Line 109 col 3 Parsing error: Unexpected token stocks```
Any ideas? Like I said, the config file is copied right from the sample. Line 109 is the
stocks : [
line from the sample. -
@jack819 is there a comma on the end of line 108?
-
@sdetweil
There was not a comma (like I said, I am new to this). I did add one but now I just get a black screen when I start Magic Mirror. Nothing seems to load. -
@jack819 and when u look at the messages in the window where u started MM???
did u do an npm install in the module folder after git clone?
-
@jack819 said in [MMM-JaST] Just another Stock Ticker (new: version 2.0.0):
did u do an npm install in the module folder after git clone?
I see the instructions do not say to change to the module folder before doing the npm i
I submitted an issue to the modules github repo -
Bear with me, I am new to this:
I got to the modules folder in terminal, copied the git command, hit enter. Once that happened, I typed in the
npm i
command. It appears it was still in the module folder. -
@jack819 to install a module (read the link below in my signature)
cd ~/MagicMirror/modules git clone url from module cd module_name npm i
you need the module folder to be the current folder to do the dependency install
-
Hello,
I am French.
Since The data is now fetched from Yahoo’s finance API. I would like to try again to install this module but beforehand I would like to know how we find the symbols for the stocks we want to have and present them like this:
{name: “BASF”, symbol: “BAS.DE”, quantity: 10},
{name: “SAP”, symbol: “SAP.DE”, quantity: 15},
{name: “Henkel”, symbol: “HEN3.DE”},
{name: “Alibaba”, symbol: “BABA”}
]
}
}The stocks that interest me are:
CAC 40
Dow jones
Euro stoxx 50
Crédit Agricole.Thank you