{"action":"created","issue":{"url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/133","repository_url":"https://api.github.com/repos/thereactivestack/meteor-webpack","labels_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/133/comments","events_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/133/events","html_url":"https://github.com/thereactivestack/meteor-webpack/issues/133","id":144467446,"number":133,"title":"Meteor build error","user":{"login":"feit","id":4183342,"avatar_url":"https://avatars.githubusercontent.com/u/4183342?v=3","gravatar_id":"","url":"https://api.github.com/users/feit","html_url":"https://github.com/feit","followers_url":"https://api.github.com/users/feit/followers","following_url":"https://api.github.com/users/feit/following{/other_user}","gists_url":"https://api.github.com/users/feit/gists{/gist_id}","starred_url":"https://api.github.com/users/feit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feit/subscriptions","organizations_url":"https://api.github.com/users/feit/orgs","repos_url":"https://api.github.com/users/feit/repos","events_url":"https://api.github.com/users/feit/events{/privacy}","received_events_url":"https://api.github.com/users/feit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-30T05:26:04Z","updated_at":"2016-03-31T23:45:11Z","closed_at":null,"body":"when i run `meteor build ../build_dir --server localhost:3000`, it throw\r\n```js\r\nErrors prevented bundling:\r\nWhile processing files with webpack:webpack (for target os.osx.x86_64):\r\nfs.js:666:18: ENOENT, no such file or directory\r\n'/Users/feit/codes/cube/node_modules/lodash._getnative/'\r\nat Object.fs.readdirSync (fs.js:666:18)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:655:21)\r\nat readPackageJson (packages/webpack:webpack/plugin/WebpackCompiler.js:647:9)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:653:83)\r\nat packages/webpack:webpack/plugin/WebpackCompiler.js:659:7\r\nat Array.forEach (native)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:657:9)\r\nat packages/webpack:webpack/plugin/WebpackCompiler.js:659:7\r\nat Array.forEach (native)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:657:9)\r\nat packages/webpack:webpack/plugin/WebpackCompiler.js:659:7\r\nat Array.forEach (native)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:657:9)\r\nat packages/webpack:webpack/plugin/WebpackCompiler.js:659:7\r\nat Array.forEach (native)\r\nat addNpmPackage (packages/webpack:webpack/plugin/WebpackCompiler.js:657:9)\r\nat readPackageJson (packages/webpack:webpack/plugin/WebpackCompiler.js:647:9)\r\nat compile (packages/webpack:webpack/plugin/WebpackCompiler.js:589:9)\r\nat runWebpack (packages/webpack:webpack/plugin/WebpackCompiler.js:265:5)\r\nat WebpackCompiler.processFilesForTarget\r\n(packages/webpack:webpack/plugin/WebpackCompiler.js:112:5)\r\n```"},"comment":{"url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/comments/204176977","html_url":"https://github.com/thereactivestack/meteor-webpack/issues/133#issuecomment-204176977","issue_url":"https://api.github.com/repos/thereactivestack/meteor-webpack/issues/133","id":204176977,"user":{"login":"mydearxym","id":6184465,"avatar_url":"https://avatars.githubusercontent.com/u/6184465?v=3","gravatar_id":"","url":"https://api.github.com/users/mydearxym","html_url":"https://github.com/mydearxym","followers_url":"https://api.github.com/users/mydearxym/followers","following_url":"https://api.github.com/users/mydearxym/following{/other_user}","gists_url":"https://api.github.com/users/mydearxym/gists{/gist_id}","starred_url":"https://api.github.com/users/mydearxym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mydearxym/subscriptions","organizations_url":"https://api.github.com/users/mydearxym/orgs","repos_url":"https://api.github.com/users/mydearxym/repos","events_url":"https://api.github.com/users/mydearxym/events{/privacy}","received_events_url":"https://api.github.com/users/mydearxym/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T23:45:11Z","updated_at":"2016-03-31T23:45:11Z","body":"same problem with [kickstart-meteor-react-router](https://github.com/thereactivestack/kickstart-meteor-react-router) when i run `meteor build ../output`\r\n\r\njust install the missing npm packages and you are good to go (it takes me all afternoon ...)\r\n\r\n```js\r\n{\r\n  \"name\": \"kickstart-meteor-react-router\",\r\n  \"private\": \"true\",\r\n  \"version\": \"1.0.0\",\r\n  \"description\": \"Kickstart a project with Meteor, React and react-router fast!\",\r\n  \"main\": \"src/server.js\",\r\n  \"browser\": \"src/client.js\",\r\n  \"dependencies\": {\r\n    \"amdefine\": \"^1.0.0\",\r\n    \"base62\": \"^1.1.0\",\r\n    \"react\": \"~0.14.8\",\r\n    \"react-addons-create-fragment\": \"^0.14.8\",\r\n    \"react-addons-css-transition-group\": \"^0.14.8\",\r\n    \"react-addons-linked-state-mixin\": \"^0.14.8\",\r\n    \"react-addons-perf\": \"^0.14.8\",\r\n    \"react-addons-pure-render-mixin\": \"^0.14.8\",\r\n    \"react-addons-test-utils\": \"^0.14.8\",\r\n    \"react-addons-transition-group\": \"^0.14.8\",\r\n    \"react-addons-update\": \"^0.14.8\",\r\n    \"react-dom\": \"^0.14.8\",\r\n    \"react-mixin\": \"^3.0.3\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"acorn\": \"^3.0.4\",\r\n    \"asap\": \"^2.0.3\",\r\n    \"ast-types\": \"^0.8.16\",\r\n    \"babel\": \"^6.3.26\",\r\n    \"babel-core\": \"^6.3.26\",\r\n    \"babel-loader\": \"^6.2.0\",\r\n    \"babel-plugin-add-module-exports\": \"^0.1.2\",\r\n    \"babel-plugin-react-transform\": \"^2.0.0\",\r\n    \"babel-plugin-syntax-flow\": \"^6.5.0\",\r\n    \"babel-plugin-transform-decorators-legacy\": \"^1.3.2\",\r\n    \"babel-preset-es2015\": \"^6.3.13\",\r\n    \"babel-preset-react\": \"^6.3.13\",\r\n    \"babel-preset-stage-0\": \"^6.3.13\",\r\n    \"babel-runtime\": \"^6.6.1\",\r\n    \"balanced-match\": \"^0.3.0\",\r\n    \"brace-expansion\": \"^1.1.3\",\r\n    \"commander\": \"^2.9.0\",\r\n    \"commoner\": \"^0.10.4\",\r\n    \"concat-map\": \"0.0.1\",\r\n    \"core-js\": \"^2.2.1\",\r\n    \"css-loader\": \"^0.23.0\",\r\n    \"defined\": \"^1.0.0\",\r\n    \"detective\": \"^4.3.1\",\r\n    \"encoding\": \"^0.1.12\",\r\n    \"envify\": \"^3.4.0\",\r\n    \"esprima\": \"^2.7.2\",\r\n    \"esprima-fb\": \"^15001.1001.0-dev-harmony-fb\",\r\n    \"expose-loader\": \"^0.7.1\",\r\n    \"extract-text-webpack-plugin\": \"^0.9.1\",\r\n    \"fbjs\": \"^0.8.0-alpha.3\",\r\n    \"file-loader\": \"^0.8.5\",\r\n    \"glob\": \"^7.0.3\",\r\n    \"graceful-fs\": \"^4.1.3\",\r\n    \"graceful-readlink\": \"^1.0.1\",\r\n    \"iconv-lite\": \"^0.4.13\",\r\n    \"inflight\": \"^1.0.4\",\r\n    \"inherits\": \"^2.0.1\",\r\n    \"is-stream\": \"^1.0.1\",\r\n    \"isomorphic-fetch\": \"^2.2.1\",\r\n    \"js-tokens\": \"^1.0.3\",\r\n    \"jstransform\": \"^11.0.3\",\r\n    \"loose-envify\": \"^1.1.0\",\r\n    \"minimatch\": \"^3.0.0\",\r\n    \"minimist\": \"^1.2.0\",\r\n    \"mkdirp\": \"^0.5.1\",\r\n    \"node-fetch\": \"^1.4.1\",\r\n    \"object-assign\": \"^4.0.1\",\r\n    \"once\": \"^1.3.3\",\r\n    \"path-is-absolute\": \"^1.0.0\",\r\n    \"private\": \"^0.1.6\",\r\n    \"promise\": \"^7.1.1\",\r\n    \"q\": \"^1.4.1\",\r\n    \"react-transform-catch-errors\": \"^1.0.0\",\r\n    \"react-transform-hmr\": \"^1.0.1\",\r\n    \"recast\": \"^0.11.3\",\r\n    \"redbox-react\": \"^1.2.0\",\r\n    \"smart-mixin\": \"^1.2.1\",\r\n    \"source-map\": \"^0.5.3\",\r\n    \"style-loader\": \"^0.13.0\",\r\n    \"through\": \"^2.3.8\",\r\n    \"ua-parser-js\": \"^0.7.10\",\r\n    \"url-loader\": \"^0.5.7\",\r\n    \"webpack\": \"^1.12.9\",\r\n    \"webpack-hot-middleware\": \"^2.4.1\",\r\n    \"whatwg-fetch\": \"^0.11.0\",\r\n    \"wrappy\": \"^1.0.1\"\r\n  }\r\n}\r\n```"}}