MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED . is not a valid command

    Troubleshooting
    2
    2
    125
    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.
    • O
      O5X last edited by

      When I try to launch magicmirror for the first time, it declares that . is not a valid command. How do I fix this?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @O5X last edited by sdetweil

        @O5X is this on windows?

        if so, you have to edit ~/MagicMirror/package.json
        and change

        "scripts": {
            "start": "./run-start",
        

        to this

        "scripts": {
            "start": "node_modules/.bin/electron",
        

        Sam

        Create a working config
        How to add modules

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy