Uploaded image for project: 'stripes-cli'
  1. stripes-cli
  2. STCLI-121

Workspace command cannot find module '../package.json'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.7.0
    • None

    Description

      The current version of the CLI in master reports the following error when running stripes workspace

      $ stripes workspace
      ? Stripes modules to include ui-vendors
      { Error: Cannot find module '../package.json'
          at Function.Module._resolveFilename (module.js:547:15)
          at Function.Module._load (module.js:474:25)
          at Module.require (module.js:596:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/Users/employee/projects/folio/stripes-cli/lib/environment/development.js:11:40)
          at Module._compile (module.js:652:30)
          at Object.Module._extensions..js (module.js:663:10)
          at Module.load (module.js:565:32)
          at tryModuleLoad (module.js:505:12)
          at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
      

      This looks to be caused by a bug introduced with STCLI-109

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mattj Matt Jones
                mattj Matt Jones
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases