{"action":"opened","issue":{"url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/629","repository_url":"https://api.github.com/repos/kulshekhar/ts-jest","labels_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/629/comments","events_url":"https://api.github.com/repos/kulshekhar/ts-jest/issues/629/events","html_url":"https://github.com/kulshekhar/ts-jest/issues/629","id":343693335,"node_id":"MDU6SXNzdWUzNDM2OTMzMzU=","number":629,"title":"Error: transform-es2015-modules-commonjs plugin","user":{"login":"sapkmm","id":27483697,"node_id":"MDQ6VXNlcjI3NDgzNjk3","avatar_url":"https://avatars3.githubusercontent.com/u/27483697?v=4","gravatar_id":"","url":"https://api.github.com/users/sapkmm","html_url":"https://github.com/sapkmm","followers_url":"https://api.github.com/users/sapkmm/followers","following_url":"https://api.github.com/users/sapkmm/following{/other_user}","gists_url":"https://api.github.com/users/sapkmm/gists{/gist_id}","starred_url":"https://api.github.com/users/sapkmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapkmm/subscriptions","organizations_url":"https://api.github.com/users/sapkmm/orgs","repos_url":"https://api.github.com/users/sapkmm/repos","events_url":"https://api.github.com/users/sapkmm/events{/privacy}","received_events_url":"https://api.github.com/users/sapkmm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T15:55:38Z","updated_at":"2018-07-23T15:55:38Z","closed_at":null,"author_association":"NONE","body":"- Issue\r\nGetting an unknow error below are the details.\r\nAlso tried to change the tsconfig.json compileOptions to `'module':'commonjs'`, but that also didn't helped.\r\nVerified that the 'transform-es2015-modules-commonjs' exists under node-modules. \r\nBelow is my package.json.\r\n\r\n{\r\n  \"name\": \"my-features\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"\",\r\n  \"main\": \"my-features.ts\",\r\n  \"scripts\": {\r\n    \"test\": \"jest\"\r\n  },\r\n  \"author\": \"\",\r\n  \"license\": \"ISC\",\r\n  \"dependencies\": {\r\n    \"@reactivex/rxjs\": \"^5.2.0\",\r\n    \"xxx\": \"file:./../../../../xx/client-api-web\",\r\n    \"yyy\": \"file:./../../../../yyy/client-api-web\",\r\n    \"zzz\": \"file:./../../../../zzz/client-api-web\",\r\n    \"aaa\": \"file:./\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@types/jest\": \"^22.2.2\",\r\n    \"babel-loader\": \"^7.1.4\",    \r\n    \"babel-preset-env\": \"^1.7.0\",\r\n    \"jest\": \"^22.4.0\",\r\n    \"ts-jest\": \"^22.4.6\",\r\n    \"typescript\": \"^2.9.2\"\r\n  },\r\n  \"babel\": {\r\n    \"presets\": [\r\n      \"env\"\r\n    ]\r\n  },\r\n  \"jest\": {\r\n    \"globals\": {\r\n      \"ts-jest\": {\r\n        \"useBabelrc\": true\r\n      }\r\n    },\r\n    \"transform\": {\r\n      \"^.+\\\\.tsx?$\": \"ts-jest\"\r\n    },\r\n    \"testRegex\": \"(/Caplin.Test/.*|(\\\\.|/)(test|spec))\\\\.(jsx?|tsx?)$\",\r\n    \"moduleFileExtensions\": [\r\n      \"ts\",\r\n      \"tsx\",\r\n      \"js\",\r\n      \"jsx\",\r\n      \"json\",\r\n      \"node\"\r\n    ],\r\n    \"collectCoverage\": true\r\n  }\r\n}\r\n\r\n\r\n\r\n ```\r\n ? Test suite failed to run\r\n\r\n    ReferenceError: Unknown plugin \"transform-es2015-modules-commonjs\" specified in \"base\" at 0, attempted to resolve relative to \"E:\\\\cv_UserTemp\\\\workspace\\\\abc\\\\xyz\\\\schema\"\r\n\r\n      at node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17\r\n          at Array.map (<anonymous>)\r\n      at Function.normalisePlugins (node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)\r\n      at OptionManager.mergeOptions (node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)\r\n      at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)\r\n      at File.initOptions (node_modules/babel-core/lib/transformation/file/index.js:212:65)\r\n      at new File (node_modules/babel-core/lib/transformation/file/index.js:135:24)\r\n      at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16)\r\n      at node_modules/ts-jest/dist/postprocess.js:38:22\r\n      at Object.postProcessCode (node_modules/ts-jest/dist/postprocess.js:17:12)\r\n\r\n\r\n\r\n\r\n```"}}
{"actor":{"display_login":"sapkmm"}}