Skip to content

GitHub Actions Workflow failing #789

@humphd

Description

@humphd

I'm not sure what this is:

Run npm test
✨  Built in 19.88s.

tests/dist/index.js    654.97 KB    19.27s
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module 'ansi-regex'
Require stack:
- /home/runner/work/filer/filer/node_modules/string-width/node_modules/strip-ansi/index.js
- /home/runner/work/filer/filer/node_modules/string-width/index.js
- /home/runner/work/filer/filer/node_modules/cliui/build/index.cjs
- /home/runner/work/filer/filer/node_modules/yargs/build/index.cjs
- /home/runner/work/filer/filer/node_modules/yargs/index.cjs
- /home/runner/work/filer/filer/node_modules/karma/lib/cli.js
- /home/runner/work/filer/filer/node_modules/karma/bin/karma
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/home/runner/work/filer/filer/node_modules/string-width/node_modules/strip-ansi/index.js:2:19)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/filer/filer/node_modules/string-width/node_modules/strip-ansi/index.js',
    '/home/runner/work/filer/filer/node_modules/string-width/index.js',
    '/home/runner/work/filer/filer/node_modules/cliui/build/index.cjs',
    '/home/runner/work/filer/filer/node_modules/yargs/build/index.cjs',
    '/home/runner/work/filer/filer/node_modules/yargs/index.cjs',
    '/home/runner/work/filer/filer/node_modules/karma/lib/cli.js',
    '/home/runner/work/filer/filer/node_modules/karma/bin/karma'
  ]
}
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions