MagicMirror Forum

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

    UNSOLVED Can’t create nod_modules directory when installing awesome-alexa

    Troubleshooting
    2
    6
    70
    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.
    • T
      Tyboderek last edited by

      I follow the installation commands and after running the

      npm install - - only=prod

      It does not create then node_modules directory so I get a non such directory when I enter the next command.

      I have tried the “npm update” and the “ npm init” commands but still no luck.

      Any advice?

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

        @tyboderek did u change to the module folder after the git clone

        I turned all the wiki steps into a short script a couple years ago
        see
        https://www.dropbox.com/s/omrx3vztjp738hf/do-install.sh?dl=0

        download, make executable

        Sam

        Create a working config
        How to add modules

        T 1 Reply Last reply Reply Quote 0
        • T
          Tyboderek @sdetweil last edited by

          @sdetweil

          Yes I did. For some reason it is not creating the node_modules directory so I get an error trying to execute the next command.

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

            @tyboderek there are errors on many of the commands.

            run my scropt

            Sam

            Create a working config
            How to add modules

            T 1 Reply Last reply Reply Quote 0
            • T
              Tyboderek @sdetweil last edited by

              @sdetweil Ran your script and was not able to execute the run the next run config command to enter the alexa AS client ID info. Even went back and deleted the complete MMM-awesome-alexa directory and tried again with same result. I get an early warning that my package-lock.json was created with an old version of npm and it had to retrieve info from the registry. Warnings and errors start from there.

              I am fairly new at this but had success installing the google photos module.

              Would really like to get this alexa module installed but am at a loss.

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

                @tyboderek did u install mm using sudo?

                there should be no reason for this problem

                erase the module folder again and run the script like this

                bash -x do-install.sh &>somefile.txt

                and send me somefile.txt via email

                same userid as here at gmail

                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