maddox / magic-cards

🎩 Queue music, play movies, or trigger events with RFID cards.
MIT License
578 stars 50 forks source link

Error when running sonos+magic cards docker #74

Open schultzeey opened 4 years ago

schultzeey commented 4 years ago

I was able to install the sonos+magic cards docker, however magic-cards won't load completely once started. I can access the Sonos port however. Here's the code showing from the log. Any help would be greatly appreciated!

magic-cards | [0] $ cd server && yarn start magic-cards | [1] $ cd scanner && yarn start magic-cards | [0] $ node server.js magic-cards | [1] $ node scanner.js magic-cards | [1] internal/modules/cjs/loader.js:550 magic-cards | [1] throw err; magic-cards | [1] ^ magic-cards | [1] magic-cards | [1] Error: Cannot find module '/usr/src/app/scanner/actions/../../config/config.json' magic-cards | [1] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15) magic-cards | [1] at Function.Module._load (internal/modules/cjs/loader.js:475:25) magic-cards | [1] at Module.require (internal/modules/cjs/loader.js:598:17) magic-cards | [1] at require (internal/modules/cjs/helpers.js:11:18) magic-cards | [1] at Object. (/usr/src/app/scanner/actions/Action.js:1:84) magic-cards | [1] at Module._compile (internal/modules/cjs/loader.js:654:30) magic-cards | [1] at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) magic-cards | [1] at Module.load (internal/modules/cjs/loader.js:566:32) magic-cards | [1] at tryModuleLoad (internal/modules/cjs/loader.js:506:12) magic-cards | [1] at Function.Module._load (internal/modules/cjs/loader.js:498:3) magic-cards | [1] error Command failed with exit code 1. magic-cards | [1] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. magic-cards | [1] error Command failed with exit code 1. magic-cards | [1] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. magic-cards | [1] yarn scanner exited with code 1 magic-cards | --> Sending SIGTERM to other processes.. magic-cards | [0] yarn server exited with code 1