• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-NewsFeedTicker

Scheduled Pinned Locked Moved Utilities
94 Posts 15 Posters 56.4k Views 14 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @Giarry88
    last edited by Apr 22, 2020, 12:38 AM

    @Giarry88 from the MagicMirror folder do

    npm run check:config
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    G 1 Reply Last reply Apr 22, 2020, 1:02 AM Reply Quote 0
    • G Offline
      Giarry88 @sdetweil
      last edited by Apr 22, 2020, 1:02 AM

      @sdetweil said in MMM-NewsFeedTicker:

      @Giarry88 from the MagicMirror folder do

      npm run check:config
      

      Thanks sdetweil.

      the terminal says:

      pi@raspberrypi:~/magicmirror $ npm run check:config
      npm ERR! missing script: check:config

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2020-04-22T00_59_46_184Z-debug.log

      the log says:

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘check:config’ ]
      2 info using npm@6.14.4
      3 info using node@v10.20.1
      4 verbose stack Error: missing script: check:config
      4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19)
      4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:63:5
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:116:5
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:436:5
      4 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:391:45)
      4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:434:3)
      4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:161:5)
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:382:12
      4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:115:16
      4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
      5 verbose cwd /home/pi/magicmirror
      6 verbose Linux 4.19.97-v7l+
      7 verbose argv “/usr/bin/node” “/usr/bin/npm” “run” “check:config”
      8 verbose node v10.20.1
      9 verbose npm v6.14.4
      10 error missing script: check:config
      11 verbose exit [ 1, true ]

      What does “check.config” do?

      S 2 Replies Last reply Apr 22, 2020, 1:10 AM Reply Quote 0
      • S Away
        sdetweil @Giarry88
        last edited by Apr 22, 2020, 1:10 AM

        @Giarry88 ok, I hate this thing.
        npm run config:check

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @Giarry88
          last edited by Apr 22, 2020, 1:11 AM

          @Giarry88 said in MMM-NewsFeedTicker:

          What does “check.config” do?

          It checks the config.js file

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • G Offline
            Giarry88
            last edited by Apr 22, 2020, 1:48 AM

            @sdetweil said in MMM-NewsFeedTicker:

            @Giarry88 said in MMM-NewsFeedTicker:

            What does “check.config” do?

            It checks the config.js file

            Ok, i’ve checked and corrected it with geanie and now the syntax is correct but it still doesn’t show it on mm

            S 1 Reply Last reply Apr 22, 2020, 2:02 AM Reply Quote 0
            • S Away
              sdetweil @Giarry88
              last edited by Apr 22, 2020, 2:02 AM

              @Giarry88 open the developers window ctrl-shift-i on the keyboard, and select the console tab and scroll up to see any errors.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Apr 22, 2020, 2:29 AM Reply Quote 0
              • G Offline
                Giarry88 @sdetweil
                last edited by Apr 22, 2020, 2:29 AM

                @sdetweil said in MMM-NewsFeedTicker:

                @Giarry88 open the developers window ctrl-shift-i on the keyboard, and select the console tab and scroll up to see any errors.

                yes,

                Load script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js
                :8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
                loader.js:187 Error on loading script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js
                script.onerror @ loader.js:187
                loader.js:194 Load stylesheet: css/custom.css
                (index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
                loader.js:203 Error on loading stylesheet: css/custom.css

                S 1 Reply Last reply Apr 22, 2020, 2:52 AM Reply Quote 0
                • S Away
                  sdetweil @Giarry88
                  last edited by Apr 22, 2020, 2:52 AM

                  @Giarry88 sounds like u didn’t install the module in the right place

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  G 1 Reply Last reply Apr 22, 2020, 8:53 AM Reply Quote 0
                  • G Offline
                    Giarry88 @sdetweil
                    last edited by Apr 22, 2020, 8:53 AM

                    @sdetweil said in MMM-NewsFeedTicker:

                    @Giarry88 sounds like u didn’t install the module in the right place

                    I’ve nstalled it in the Modules folders (outside of the Default folder, correct?)

                    S 1 Reply Last reply Apr 22, 2020, 11:50 AM Reply Quote 0
                    • S Away
                      sdetweil @Giarry88
                      last edited by Apr 22, 2020, 11:50 AM

                      @Giarry88 :8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

                      says file not there

                      you can get rid of this one by creating an empty custom.css (my installation script does this)

                      :1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled
                      

                      touch ~/MagicMirror/css/custom.css

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      G 1 Reply Last reply Apr 22, 2020, 12:15 PM Reply Quote 0
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 8 / 10
                      8 / 10
                      • First post
                        77/94
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy