A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Docker setup is not working
-
@z0diak those files have to be installed with
npm install
in the vendor directory or runnpm install
in MagicMirror directory which automatically installs the vendor as well. -
Initiated container, ran “npm install” and here are results:
# npm install npm info it worked if it ends with ok npm info using npm@4.2.0 npm info using node@v7.9.0 npm info lifecycle magicmirror@2.1.1~preinstall: magicmirror@2.1.1 npm info linkStuff magicmirror@2.1.1 npm info lifecycle magicmirror@2.1.1~install: magicmirror@2.1.1 npm WARN lifecycle magicmirror@2.1.1~install: cannot run in wd %s %s (wd=%s) mag icmirror@2.1.1 cd vendor && npm install /opt/magic_mirror npm info lifecycle magicmirror@2.1.1~postinstall: magicmirror@2.1.1 npm WARN lifecycle magicmirror@2.1.1~postinstall: cannot run in wd %s %s (wd=%s) magicmirror@2.1.1 sh installers/postinstall/postinstall.sh /opt/magic_mirror npm info ok # ls vendor package.json vendor.js
Unless I use --unsage-perm it just doesn’t work. Thanks to you and @karsten13
-
@MichMich should this be submitted as an issue to GitHub?
-
The docker setup is outsourced to https://github.com/bastilimbach/docker-MagicMirror and I already posted an issue for the black screen problem there: https://github.com/bastilimbach/docker-MagicMirror/issues/2
-
I added the
--unsafe-perm
to the npm install process in the Dockerfile. (3a5dbc4) This should fix the issues 👍