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.

    Dependency Issue

    Scheduled Pinned Locked Moved Troubleshooting
    1 Posts 1 Posters 848 Views 1 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.
    • M Offline
      mirrX
      last edited by

      Hi there, I have the following issue after installing the software.
      Here is the console output:

      > cd vendor && npm install
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: binary-extensions@^1.0.0 (node_modules/is-binary-path/node_modules/binary-extensions):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No data, empty input at 1:1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /home/pi/.npm/binary-extensions/1.11.0/package/package.json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: y18n@^3.2.0 (node_modules/yargs/node_modules/y18n):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No data, empty input at 1:1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /home/pi/.npm/y18n/3.2.1/package/package.json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cliui@^3.0.3 (node_modules/yargs/node_modules/cliui):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No data, empty input at 1:1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /home/pi/.npm/cliui/3.2.0/package/package.json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: window-size@^0.1.4 (node_modules/yargs/node_modules/window-size):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Failed to parse json
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: No data, empty input at 1:1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ^
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File: /home/pi/.npm/window-size/0.1.4/package/package.json
      npm ERR! Linux 4.9.35-v7+
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
      npm ERR! node v6.13.1
      npm ERR! npm  v3.10.10
      npm ERR! file /home/pi/.npm/os-locale/1.4.0/package/package.json
      npm ERR! code EJSONPARSE
      
      npm ERR! Failed to parse json
      npm ERR! No data, empty input at 1:1
      npm ERR! 
      npm ERR! ^
      npm ERR! File: /home/pi/.npm/os-locale/1.4.0/package/package.json
      npm ERR! Failed to parse package.json data.
      npm ERR! package.json must be actual JSON, not just JavaScript.
      npm ERR! 
      npm ERR! This is not a bug in npm.
      npm ERR! Tell the package author to fix their package.json file. JSON.parse
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/MagicMirror/vendor/npm-debug.log
      
      npm ERR! Linux 4.9.35-v7+
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
      npm ERR! node v6.13.1
      npm ERR! npm  v3.10.10
      npm ERR! code ELIFECYCLE
      npm ERR! magicmirror@2.2.2 install: `cd vendor && npm install`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.2.2 install script 'cd vendor && npm install'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the magicmirror package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     cd vendor && npm install
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs magicmirror
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls magicmirror
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/MagicMirror/npm-debug.log
      Unable to install dependencies!
      

      Even after I change the config.sample into config.js the software starts, but it shows only a blank screen.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        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