{"id":658,"hash":"25960a903a17dbeaaa4302614f5e893c321426127457d41cabf38f2c7795fa13","pattern":"Upgrading Jest to v29 - Error Test environment jest-environment-jsdom cannot be found","full_message":"Has anyone successfully upgraded to latest Jest version 29?\n\nI'm receiving an error:\n\nError: Test environment jest-environment-jsdom cannot be found. Make sure the testEnvironment configuration option points to an existing node module.","ecosystem":"npm","package_name":"node.js","package_version":null,"solution":"Jest team added more descriptive error message in version 28.0.1\n\nError:...\nAs of Jest 28 \"jsdom\" is no longer shipped by default, make sure to install it separately.\n\nInstalling jsdom package resolves the issue:\n\n# npm\nnpm install -D jest-environment-jsdom\n# yarn\nyarn add -D jest-environment-jsdom","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/72013449/upgrading-jest-to-v29-error-test-environment-jest-environment-jsdom-cannot-be","votes":149,"created_at":"2026-04-19T04:51:27.264336+00:00","updated_at":"2026-04-19T04:51:27.264336+00:00"}