filer icon indicating copy to clipboard operation
filer copied to clipboard

GitHub Actions Workflow failing

Open humphd opened this issue 3 years ago • 0 comments

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.

humphd avatar Oct 19 '21 21:10 humphd