{"action":"opened","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3875","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3875/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3875/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3875/events","html_url":"https://github.com/ant-design/ant-design/issues/3875","id":189708255,"number":3875,"title":"`npm test` fails for me","user":{"login":"waywardmonkeys","id":178582,"avatar_url":"https://avatars.githubusercontent.com/u/178582?v=3","gravatar_id":"","url":"https://api.github.com/users/waywardmonkeys","html_url":"https://github.com/waywardmonkeys","followers_url":"https://api.github.com/users/waywardmonkeys/followers","following_url":"https://api.github.com/users/waywardmonkeys/following{/other_user}","gists_url":"https://api.github.com/users/waywardmonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/waywardmonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waywardmonkeys/subscriptions","organizations_url":"https://api.github.com/users/waywardmonkeys/orgs","repos_url":"https://api.github.com/users/waywardmonkeys/repos","events_url":"https://api.github.com/users/waywardmonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/waywardmonkeys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-16T13:46:07Z","updated_at":"2016-11-16T13:46:07Z","closed_at":null,"body":"I'm having trouble running `npm test` or `npm start` and the like.\r\n\r\nhttps://github.com/ant-design/ant-design/wiki/Development doesn't seem to say that I need to do anything that I haven't done.\r\n\r\nAny ideas?\r\n\r\n```\r\nbatavia:ant-design bruce (more-typo-fixes) $ npm test\r\n\r\n> antd@2.4.2 test /Users/bruce/Development/workbench/ant-design\r\n> npm run lint && npm run dist && npm run jest\r\n\r\n\r\n> antd@2.4.2 lint /Users/bruce/Development/workbench/ant-design\r\n> npm run tslint && npm run eslint && npm run demolint && npm run lesshint\r\n\r\n\r\n> antd@2.4.2 tslint /Users/bruce/Development/workbench/ant-design\r\n> antd-tools run ts-lint && npm run compile && rm -rf lib\r\n\r\nantd-tools run ts-lint\r\n\r\n> antd@2.4.2 compile /Users/bruce/Development/workbench/ant-design\r\n> antd-tools run compile && node ./tests/dekko/lib.test.js\r\n\r\nantd-tools run compile\r\n\r\nevents.js:160\r\n      throw er; // Unhandled 'error' event\r\n      ^\r\nTypeError: Path must be a string. Received undefined\r\n    at assertPath (path.js:7:11)\r\n    at Object.dirname (path.js:1324:5)\r\n    at /Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:353:36\r\n    at /Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:375:22\r\n    at Array.map (native)\r\n    at OptionManager.resolvePresets (/Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)\r\n    at OptionManager.mergePresets (/Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)\r\n    at OptionManager.mergeOptions (/Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)\r\n    at /Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:349:14\r\n    at /Users/bruce/Development/workbench/ant-design/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:24\r\n\r\nnpm ERR! Darwin 16.1.0\r\nnpm ERR! argv \"/usr/local/Cellar/node/7.1.0/bin/node\" \"/usr/local/bin/npm\" \"run\" \"compile\"\r\nnpm ERR! node v7.1.0\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! antd@2.4.2 compile: `antd-tools run compile && node ./tests/dekko/lib.test.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the antd@2.4.2 compile script 'antd-tools run compile && node ./tests/dekko/lib.test.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the antd package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     antd-tools run compile && node ./tests/dekko/lib.test.js\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs antd\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls antd\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/bruce/Development/workbench/ant-design/npm-debug.log\r\n\r\nnpm ERR! Darwin 16.1.0\r\nnpm ERR! argv \"/usr/local/Cellar/node/7.1.0/bin/node\" \"/usr/local/bin/npm\" \"run\" \"tslint\"\r\nnpm ERR! node v7.1.0\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! antd@2.4.2 tslint: `antd-tools run ts-lint && npm run compile && rm -rf lib`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the antd@2.4.2 tslint script 'antd-tools run ts-lint && npm run compile && rm -rf lib'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the antd package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     antd-tools run ts-lint && npm run compile && rm -rf lib\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs antd\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls antd\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/bruce/Development/workbench/ant-design/npm-debug.log\r\n\r\nnpm ERR! Darwin 16.1.0\r\nnpm ERR! argv \"/usr/local/Cellar/node/7.1.0/bin/node\" \"/usr/local/bin/npm\" \"run\" \"lint\"\r\nnpm ERR! node v7.1.0\r\nnpm ERR! npm  v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! antd@2.4.2 lint: `npm run tslint && npm run eslint && npm run demolint && npm run lesshint`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the antd@2.4.2 lint script 'npm run tslint && npm run eslint && npm run demolint && npm run lesshint'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the antd package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     npm run tslint && npm run eslint && npm run demolint && npm run lesshint\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs antd\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls antd\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/bruce/Development/workbench/ant-design/npm-debug.log\r\nnpm ERR! Test failed.  See above for more details.\r\n```\r\n"}}
{"actor":{"display_login":"waywardmonkeys"}}