Skip to content

new script install-mm for simplifying mm installation#2891

Merged
MichMich merged 2 commits intoMagicMirrorOrg:developfrom
khassel:mm-install
Jul 28, 2022
Merged

new script install-mm for simplifying mm installation#2891
MichMich merged 2 commits intoMagicMirrorOrg:developfrom
khassel:mm-install

Conversation

@khassel
Copy link
Collaborator

@khassel khassel commented Jul 25, 2022

Inspired by a comment of @sdetweil in the forums. Many users run npm audit fix because this is displayed when installing mm.
The current installation command in the docs is npm install --only=prod --omit=dev, not very handy.

So I thought of simplifying installation and

  • added new scripts for the mm installation: npm run install-mm (and npm run install-mm:dev for install with devDependencies)
  • added the params --no-audit --no-fund --no-update-notifier for less noise (also to vender and fonts install)

With this the audit and npm update messages are gone. The new command is faster (without audit) and this will (hopefully) produce less support because running the audit fix command (by the user) often destroyed a running installation.

Other installation processes as @sdetweil's install scripts or the docker image could also use the new scripts.

I'm open for renaming the new scripts or better ideas.

If this is accepted/merged I will add a PR to the documentation repo for updating the installation command.

…s `--no-audit --no-fund --no-update-notifier` for less noise
@khassel
Copy link
Collaborator Author

khassel commented Jul 25, 2022

Codecov upload error seems unrelated to the changes in this PR.

@sdetweil
Copy link
Collaborator

sdetweil commented Jul 25, 2022

cool, will add those parms to my scripts. (install and upgrade)

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants