You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Jest: Failed to parse the TypeScript config file /Users/hhamidi/projects/new-project/jest.config.ts
Error: Jest: 'ts-node' is required for the TypeScript configuration files. Make sure it is installed
Error: Cannot find package 'ts-node' imported from /Users/hhamidi/projects/new-project/node_modules/jest-config/build/readConfigFileAndSetRootDir.js
installing ts-node was not specified in the docs.
Actual behavior
I'm getting the error
Error: Jest: Failed to parse the TypeScript config file /Users/hhamidi/projects/new-project/jest.config.ts
Error: Jest: 'ts-node' is required for the TypeScript configuration files. Make sure it is installed
Error: Cannot find package 'ts-node' imported from /Users/hhamidi/projects/new-project/node_modules/jest-config/build/readConfigFileAndSetRootDir.js
Version
29.2.5
Steps to reproduce
npm install --save-dev jest ts-jest @types/jest
npx ts-jest config:init
jest.config.ts
package.json
Expected behavior
Running npm run test should work successfully.
I'm getting the error
installing ts-node was not specified in the docs.
Actual behavior
I'm getting the error
installing ts-node was not specified in the docs.
Additional context
Issue was already mentioned here
Environment
The text was updated successfully, but these errors were encountered: