question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unexpected dependencies 'jest-diff', 'jest-matcher-utils'

See original GitHub issue

Hi!

After i removed jest-cli, i started to getting errors:

Cannot find module 'jest-diff' from 'jest-marbles.js' Cannot find module 'jest-matcher-utils' from 'jest-marbles.js'

package.json:

"devDependencies": {
        "@angular-builders/jest": "^8.2.0",
        "@angular-devkit/build-angular": "^0.803.18",
        "@angular/cli": "^8.3.18",
        "@angular/compiler-cli": "^8.2.13",
        "@angular/language-service": "^8.2.13",
        "@types/accounting": "0.3.29",
        "@types/jest": "^24.0.22",
        "@types/lodash": "4.14.121",
        "@types/node": "~11.9.6",
        "@types/selenium-webdriver": "3.0.15",
        "@types/source-map": "0.5.7",
        "accounting": "0.3.2",
        "angular2-template-loader": "^0.6.2",
        "canvas-toBlob": "1.0.0",
        "cpy-cli": "1.0.1",
        "expect": "^24.9.0",
        "husky": "0.14.3",
        "jest": "^23.6.0",
        "jest-marbles": "^2.5.0",
        "npm-run-all": "4.0.1",
        "prettier": "1.16.4",
        "pretty-quick": "1.10.0",
        "raw-loader": "^0.5.1",
        "rimraf": "2.6.2",
        "stylelint-teamcity-reporter": "^1.0.0",
        "text-mask-addons": "3.7.1",
        "text-mask-core": "5.0.1",
        "ts-jest": "^24.1.0",
        "ts-mockito": "^2.5.0",
        "tslint-teamcity-reporter": "^2.0.0",
        "typescript": "^3.5.3",
        "webpack-bundle-analyzer": "3.3.2"
    },

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
just-jebcommented, Jan 22, 2020

Fixed in 2.5.1.

2reactions
just-jebcommented, Jan 20, 2020

I guess you’re right, need to list them in the dependencies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jest-matcher-utils | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
Configuring Jest
Jest attempts to scan your dependency tree once (up-front) and cache it in order to ease some of the filesystem churn that needs...
Read more >
Jest gives an error: "SyntaxError: Unexpected token export"
By default Jest doesn't transform node_modules, because they should be valid JavaScript files. However, it happens that library authors assume ...
Read more >
eslint-plugin-jest - npm
Start using eslint-plugin-jest in your project by running `npm i ... if you're linting sub-folders that have different versions of Jest, ...
Read more >
Dependencies | jest | npm - Open Source Insights
arrow_right jest‑cli. 22.4.4 Notes Relation Licenses D... Version 22.4.4 Published May 18, 2018 Description arrow_right @babel/code‑frame. 7.18.6 Notes Relation Licenses D... Version 7.18.6 Published June 27,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found