Coder Social home page Coder Social logo

mmm-stock's People

Contributors

gonz0s avatar hakanmhmd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mmm-stock's Issues

Nothing is displayed

[email protected] start /home/pi/MagicMirror
DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[2020-04-29 23:07:43.307] [LOG] Starting MagicMirror: v2.11.0
[2020-04-29 23:07:43.387] [LOG] Loading config ...
[2020-04-29 23:07:43.404] [LOG] Loading module helpers ...
[2020-04-29 23:07:43.410] [LOG] No helper found for module: alert.
[2020-04-29 23:07:43.567] [LOG] Initializing new module helper ...
[2020-04-29 23:07:43.569] [LOG] Module helper loaded: updatenotification
[2020-04-29 23:07:43.574] [LOG] No helper found for module: clock.
[2020-04-29 23:07:45.522] [LOG] Initializing new module helper ...
[2020-04-29 23:07:45.524] [LOG] Module helper loaded: calendar
[2020-04-29 23:07:45.527] [LOG] No helper found for module: currentweather.
[2020-04-29 23:07:45.531] [LOG] No helper found for module: weatherforecast.
[2020-04-29 23:07:45.564] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'async'
Require stack:

  • /home/pi/MagicMirror/modules/MMM-Stock/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/js/electron.js
  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

[2020-04-29 23:07:45.567] [LOG] Loading module helpers ...
[2020-04-29 23:07:45.569] [LOG] No helper found for module: alert.
[2020-04-29 23:07:45.572] [LOG] Initializing new module helper ...
[2020-04-29 23:07:45.573] [LOG] Module helper loaded: updatenotification
[2020-04-29 23:07:45.575] [LOG] No helper found for module: clock.
[2020-04-29 23:07:45.577] [LOG] Initializing new module helper ...
[2020-04-29 23:07:45.578] [LOG] Module helper loaded: calendar
[2020-04-29 23:07:45.581] [LOG] No helper found for module: currentweather.
[2020-04-29 23:07:45.583] [LOG] No helper found for module: weatherforecast.
[2020-04-29 23:07:45.589] [ERROR] App threw an error during load
[2020-04-29 23:07:45.592] [ERROR] Error: Cannot find module 'async'
Require stack:

  • /home/pi/MagicMirror/modules/MMM-Stock/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/js/electron.js
  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object. (/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js:3:13)
    at Module._compile (internal/modules/cjs/loader.js:786:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    [2020-04-29 23:07:45.598] [LOG] Whoops! There was an uncaught exception...
    [2020-04-29 23:07:45.599] [ERROR] Error: Cannot find module 'async'
    Require stack:
  • /home/pi/MagicMirror/modules/MMM-Stock/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/js/electron.js
  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
  • at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Function.Module._load (internal/modules/cjs/loader.js:531:27)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object. (/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js:3:13)
    at Module._compile (internal/modules/cjs/loader.js:786:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
    at Module.load (internal/modules/cjs/loader.js:645:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js',
    '/home/pi/MagicMirror/js/app.js',
    '/home/pi/MagicMirror/js/electron.js',
    '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
    undefined
    ]
    }
    [2020-04-29 23:07:45.627] [LOG] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-04-29 23:07:45.629] [LOG] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-04-29 23:07:46.769] [LOG] Launching application.
    [2020-04-29 23:07:53.410] [LOG] Shutting down server...
    [2020-04-29 23:07:53.416] [LOG] Stopping module helper: updatenotification
    [2020-04-29 23:07:53.418] [LOG] Stopping module helper: calendar
    [2020-04-29 23:07:53.420] [LOG] Stopping module helper: updatenotification
    [2020-04-29 23:07:53.421] [LOG] Stopping module helper: calendar

Module Broken

Simply put the module no longer shows in the active mirror. as of Oct 2nd 2017.

More than 4 stocks?

Hi I'm adding more than 4 stock and only 4 are showing up, can you let me know why?

Readme Update

Hello, after git clone is important to put the second step:

install all the npm modules with either:
yarn install or npm install

Please change de Readme

toLowerCase error

I get repeated errors like this in the console:

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
at MMM-Stock.js:90

And the module does not work. But sometimes it works, very strange.

Error on MagicMirror-"Please create or modify your config file"

I used all the steps provided and downloaded the Module. It was all fine till I put the module code into the modules array in the config.js file. After I rebooted the Pi, all of my previous modules were gone as well and the only thing that showed was an error to "create a config file" or "check for issues in the config file. I checked and did not see any issues. The only thing I changed was adding the module code to the array and I made sure there was the correct number of opening and closing brackets and their corresponding bracket for no issues. Please help, thanks!

Currency

Hi,

I already did some research but haven't found a solution by now.
How do I get the data in EUR?

Nothing is displayed

Installed from Github, used only 4 US companies but there is no display. I'm running MM 2.3.1

error: request issue

  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object. (/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js:2:15)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    [23.01.2022 14:38.11.559] [ERROR] Whoops! There was an uncaught exception...
    [23.01.2022 14:38.11.564] [ERROR] Error: Cannot find module 'request'
    Require stack:
  • /home/pi/MagicMirror/modules/MMM-Stock/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/js/electron.js
  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
  • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
    at Module._load (node:internal/modules/cjs/loader:785:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object. (/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js:2:15)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/home/pi/MagicMirror/modules/MMM-Stock/node_helper.js',
    '/home/pi/MagicMirror/js/app.js',
    '/home/pi/MagicMirror/js/electron.js',
    '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
    undefined
    ]
    }
    [23.01.2022 14:38.11.566] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [23.01.2022 14:38.11.567] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    Invalid MIT-MAGIC-COOKIE-1 key/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-01-23T05_38_11_620Z-debug.log

Could you please help me how to fix it?

Thank and Regards,

Module doesn't load

Hey there, I'm trying to get this module to populate the top bar of my mirror. After sorting through various issues of dependencies, I'm no longer seeing errors in the log output, but the module still doesn't seem to load.
Here's my log output and my config.js is attached.
PM2 | Stopping app:mm id:0 0|mm | /home/<REDACTED>/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT PM2 | pid=3119 msg=failed to kill - retrying in 100ms PM2 | App [mm:0] exited with code [0] via signal [SIGINT] PM2 | pid=3119 msg=process killed PM2 | App [mm:0] starting in -fork mode- PM2 | App [mm:0] online 0|mm | > [email protected] start /home/<REDACTED>/MagicMirror 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | Fontconfig error: "/home/<REDACTED>/.config/fontconfig/fonts.conf", line 9: Extra content at the end of the document 0|mm | [26.10.2022 18:36.20.894] [LOG] 0|mm | Starting MagicMirror: v2.21.0 0|mm | [26.10.2022 18:36.20.910] [LOG] 0|mm | Loading config ... 0|mm | [26.10.2022 18:36.20.924] [LOG] 0|mm | Loading module helpers ... 0|mm | [26.10.2022 18:36.20.931] [LOG] 0|mm | No helper found for module: alert. 0|mm | [26.10.2022 18:36.20.935] [LOG] No helper found for module: clock. 0|mm | [26.10.2022 18:36.21.482] [LOG] 0|mm | Initializing new module helper ... 0|mm | [26.10.2022 18:36.21.486] [LOG] Module helper loaded: calendar 0|mm | [26.10.2022 18:36.21.491] [LOG] No helper found for module: weather. 0|mm | [26.10.2022 18:36.22.145] [LOG] 0|mm | Initializing new module helper ... 0|mm | [26.10.2022 18:36.22.147] [LOG] Module helper loaded: MMM-Stock 0|mm | [26.10.2022 18:36.22.202] [LOG] 0|mm | Initializing new module helper ... 0|mm | [26.10.2022 18:36.22.203] [LOG] Module helper loaded: newsfeed 0|mm | [26.10.2022 18:36.22.204] [LOG] All module helpers loaded. 0|mm | [26.10.2022 18:36.22.402] [LOG] 0|mm | Starting server on port 8080 ... 0|mm | [26.10.2022 18:36.22.428] [LOG] 0|mm | Server started ... 0|mm | [26.10.2022 18:36.22.430] [LOG] Connecting socket for: calendar 0|mm | [26.10.2022 18:36.22.433] [LOG] 0|mm | Starting node helper for: calendar 0|mm | [26.10.2022 18:36.22.441] [LOG] Connecting socket for: MMM-Stock 0|mm | [26.10.2022 18:36.22.443] [LOG] MMM-Stock helper method started... 0|mm | [26.10.2022 18:36.22.445] [LOG] 0|mm | Connecting socket for: newsfeed 0|mm | [26.10.2022 18:36.22.447] [LOG] Starting node helper for: newsfeed 0|mm | [26.10.2022 18:36.22.449] [LOG] Sockets connected & modules started ... 0|mm | [26.10.2022 18:36.22.955] [LOG] 0|mm | Launching application. 0|mm | [3342:1026/183624.653752:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [3387:1026/183624.852034:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [3347:1026/183624.930722:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | [26.10.2022 18:36.28.458] [LOG] 0|mm | Create new calendarfetcher for url: https://www.google.com/calendar/ical/<REDACTED>%40group.calendar.google.com/public/basic.ics - Interval: 300000 0|mm | [26.10.2022 18:36.28.654] [LOG] 0|mm | Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 0|mm | [26.10.2022 18:36.28.666] [LOG] 0|mm | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/<REDACTED>%40gmail.com/<REDACTED>/basic.ics - Interval: 300000 0|mm | [26.10.2022 18:36.28.690] [LOG] 0|mm | Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|mm | [26.10.2022 18:36.29.585] [INFO] 0|mm | Newsfeed-Fetcher: Broadcasting 33 items. 0|mm | [26.10.2022 18:36.29.870] [INFO] 0|mm | Calendar-Fetcher: Broadcasting 1 events. 0|mm | [26.10.2022 18:36.32.543] [INFO] 0|mm | Calendar-Fetcher: Broadcasting 5 events. 0|mm | [26.10.2022 18:36.35.402] [INFO] 0|mm | Calendar-Fetcher: Broadcasting 66 events. [config.js.txt](https://github.com/hakanmhmd/MMM-Stock/files/9874991/config.js.txt)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.