Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4318

MaxCtrl can't find 'yargs'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.20
    • maxctrl
    • None
    • MXS-SPRINT-167

    Description

      Recent 2.4 tests have started to fail with this:

      123: pkg/prelude/bootstrap.js:1176
      123:       throw error;
      123:       ^
      123: 
      123: Error: Cannot find module 'yargs'
      123: 1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
      123:     at Function.Module._resolveFilename (module.js:469:15)
      123:     at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1278:46)
      123:     at Function.Module._load (module.js:417:25)
      123:     at Module.require (module.js:497:17)
      123:     at Module.require (pkg/prelude/bootstrap.js:1157:31)
      123:     at require (internal/module.js:20:19)
      123:     at Object.<anonymous> (/snapshot/maxctrl/lib/core.js:0)
      123:     at Module._compile (pkg/prelude/bootstrap.js:1252:22)
      123:     at Object.Module._extensions..js (module.js:579:10)
      123:     at Module.load (module.js:487:32)
      

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.