Skip to content

runJest: Error: Cannot find module 'jest-cli/build/cli/args' #2942

@goulu

Description

@goulu

Stencil version:
(with jest and jest-cli)

+-- @ionic/core@5.6.10
| +-- @stencil/core@2.6.0  deduped
| `-- ionicons@5.5.2
|   `-- @stencil/core@2.6.0  deduped
+-- @stencil/core@2.6.0
+-- jest@27.0.5
| `-- jest-cli@27.0.5  deduped
`-- jest-cli@27.0.5

I'm submitting a:

[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
any call to stencil test ... builds, then causes

[ ERROR ]  runJest: Error: Cannot find module 'jest-cli/build/cli/args' Require stack: -
           C:\Users\guglie0p\AppData\Roaming\npm\node_modules\@stencil\core\testing\index.js -
           C:\Users\guglie0p\AppData\Roaming\npm\node_modules\@stencil\core\cli\index.cjs -
           C:\Users\guglie0p\AppData\Roaming\npm\node_modules\@stencil\core\bin\stencil

(on Windows...)

Expected behavior:
run the tests
( worked with @stencil/core": "^2.5.2", "@types/jest": "^26.0.20" , will revert to these versions ...)

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