No internet connection
  1. Home
  2. Bug Reports

Having trouble building from source

By Austin Barnett @austinb
    2022-12-21 16:59:00.503Z

    Still kind of new to everything so sorry if this is remedial but can anyone point me in the right direction on resolving these npm issues
    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE could not resolve
    npm ERR!
    npm ERR! While resolving: @vue/cli-plugin-eslint@5.0.8
    npm ERR! Found: eslint@6.8.0
    npm ERR! node_modules/eslint
    npm ERR! dev eslint@"^6.7.2" from the root project
    npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/eslint-plugin@2.34.0
    npm ERR! node_modules/@typescript-eslint/eslint-plugin
    npm ERR! dev @typescript-eslint/eslint-plugin@"^2.33.0" from the root project
    npm ERR! peer @typescript-eslint/eslint-plugin@"^2.7.0" from @vue/eslint-config-typescript@5.1.0
    npm ERR! node_modules/@vue/eslint-config-typescript
    npm ERR! dev @vue/eslint-config-typescript@"^5.0.2" from the root project
    npm ERR! 10 more (@typescript-eslint/experimental-utils, ...)
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8
    npm ERR! node_modules/@vue/cli-plugin-eslint
    npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project
    npm ERR!
    npm ERR! Conflicting peer dependency: eslint@8.30.0
    npm ERR! node_modules/eslint
    npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8
    npm ERR! node_modules/@vue/cli-plugin-eslint
    npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR!

    Solved in post #8, click to view
    • 9 replies
    1. M
      Matt Frisbie @mattfriz
        2022-12-21 17:07:53.129Z

        As a short term fix, try using the --force flag. I'll look into resolving these dependencies.

        1. AAustin Barnett @austinb
            2022-12-21 17:09:53.534Z

            matt you deserve some sort of award for response time, I've attempted cache clearing the --force flag and the legacy flag. I'm recording each step in hopes of creating a walkthrough for the less coding inclined people.

            1. MMatt Frisbie @mattfriz
                2022-12-21 17:21:19.145Z

                I've been dragging my feet on this for awhile. I'll fix these dependencies and push a fix.

            2. A
              In reply toaustinb:
              Austin Barnett @austinb
                2022-12-21 17:22:00.077Z

                gentleman and a scholar

                1. M
                  In reply toaustinb:
                  Matt Frisbie @mattfriz
                    2022-12-21 17:58:25.713Z

                    Alright let's try this again. I've updated the master branch with what should be a resolved dependency set.

                    CircleCI was able to build and run tests with no issues:
                    https://app.circleci.com/pipelines/github/msfrisbie/track-trace-tools/86/workflows/273373df-0d53-4377-b434-0aaeff41558b

                    I'm switching over to using yarn, I recommend doing the same.

                    1. AAustin Barnett @austinb
                        2022-12-21 18:57:36.749Z

                        should I fork the original Repo

                        error Command failed.
                        Exit code: 128
                        Command: git
                        Arguments: ls-remote --tags --heads ssh://git@github.com/awardx/vue-extension-mv3-hot-reload.git
                        Directory: /Users/austinbarnett/track-trace-tools
                        Output:
                        Host key verification failed.
                        fatal: Could not read from remote repository.

                        1. In reply tomattfriz:
                          AAustin Barnett @austinb
                            2022-12-21 19:10:48.414Z

                            deleted ran standard and then with the ignore flag and its all good

                            ReplySolution
                          • Progress
                            with handling this problem
                          • A
                            Austin Barnett @austinb
                              2022-12-21 19:18:10.440Z

                              Everything is working. If you get bored I'd gladly donate money for a quick tutorial on changing settings.

                              1. M
                                Matt Frisbie @mattfriz
                                  2022-12-21 21:06:22.100Zreplies toaustinb:

                                  Happy to assist, reach out at tracktracetools@gmail.com.

                                  I also do contract work to add on custom features.