Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-2126

build of qan-app fails on centos

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      + npm run build:prod

      > qan-app@1.8.0 build:prod /home/builder/rpm/BUILD/qan-app-870ef0e56e01da955b5927402126fd22557650ca
      > ng b -bh '/qan/' -pr -aot -op dist/qan-app --environment=prod --output-hashing=all

      module.js:471
      throw err;
      ^

      Error: Cannot find module '@angular-devkit/core'
      at Function.Module._resolveFilename (module.js:469:15)
      at Function.Module._load (module.js:417:25)
      at Module.require (module.js:497:17)
      at require (internal/module.js:20:19)
      at Object.<anonymous> (/home/builder/rpm/BUILD/qan-app-870ef0e56e01da955b5927402126fd22557650ca/node_modules/@angular-devkit/schematics/src/tree/virtual.js:10:16)
      at Module._compile (module.js:570:32)
      at Object.Module._extensions..js (module.js:579:10)
      at Module.load (module.js:487:32)
      at tryModuleLoad (module.js:446:12)
      at Function.Module._load (module.js:438:3)

      npm ERR! Linux 4.9.60-linuxkit-aufs
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build:prod"
      npm ERR! node v6.12.3
      npm ERR! npm v3.10.10
      npm ERR! code ELIFECYCLE
      npm ERR! qan-app@1.8.0 build:prod: `ng b -bh '/qan/' -pr -aot -op dist/qan-app --environment=prod --output-hashing=all`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the qan-app@1.8.0 build:prod script 'ng b -bh '/qan/' -pr -aot -op dist/qan-app --environment=prod --output-hashing=all'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the qan-app package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! ng b -bh '/qan/' -pr -aot -op dist/qan-app --environment=prod --output-hashing=all
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs qan-app
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR! npm owner ls qan-app
      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:
      npm ERR! /home/builder/rpm/BUILD/qan-app-870ef0e56e01da955b5927402126fd22557650ca/npm-debug.log

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                andrii.skomorokhov Andrii Skomorokhov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 4 hours
                    1d 4h