Page MenuHomePhabricator
Paste P20601

NPM run test failing for CirriusSearch
ActivePublic

Authored by Osamaahmed17 on Feb 11 2022, 12:16 PM.
osamaahmedtahir@Users-MacBook-Pro CirrusSearch % npm run test
> cirrussearch@0.0.0 test /Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch
> grunt test
Running "eslint:all" (eslint) task
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/integration/features/step_definitions/page_steps.js
12:61 error "cucumber" is not found node/no-missing-require
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/integration/features/step_definitions/search_steps.js
3:40 error "cucumber" is not found node/no-missing-require
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/integration/features/support/hooks.js
3:36 error "cucumber" is not found node/no-missing-require
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/integration/features/support/world.js
13:42 error "cucumber" is not found node/no-missing-require
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/phpunit/fixtures/configDump/enwiki_crosslang_frwiki_config.json
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/phpunit/fixtures/configDump/enwiki_crosslang_frwiki_invalid_config.json
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/phpunit/fixtures/configDump/enwiki_sisterproject_configs.json
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
/Users/osamaahmedtahir/Desktop/Outreachy/core/extensions/CirrusSearch/tests/phpunit/fixtures/regexParser/ref_impl_fixtures.json
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
✖ 8 problems (4 errors, 4 warnings)
Warning: Task "eslint:all" failed. Use --force to continue.
Aborted due to warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! cirrussearch@0.0.0 test: `grunt test`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the cirrussearch@0.0.0 test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/osamaahmedtahir/.npm/_logs/2022-02-11T12_14_53_287Z-debug.log