{"action":"created","issue":{"url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/49","repository_url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools","labels_url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/49/comments","events_url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/49/events","html_url":"https://github.com/halt-hammerzeit/webpack-isomorphic-tools/issues/49","id":133446397,"number":49,"title":"Please update docs on potentia issues","user":{"login":"veeracs","id":3789651,"avatar_url":"https://avatars.githubusercontent.com/u/3789651?v=3","gravatar_id":"","url":"https://api.github.com/users/veeracs","html_url":"https://github.com/veeracs","followers_url":"https://api.github.com/users/veeracs/followers","following_url":"https://api.github.com/users/veeracs/following{/other_user}","gists_url":"https://api.github.com/users/veeracs/gists{/gist_id}","starred_url":"https://api.github.com/users/veeracs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veeracs/subscriptions","organizations_url":"https://api.github.com/users/veeracs/orgs","repos_url":"https://api.github.com/users/veeracs/repos","events_url":"https://api.github.com/users/veeracs/events{/privacy}","received_events_url":"https://api.github.com/users/veeracs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-13T16:29:40Z","updated_at":"2016-02-14T14:11:39Z","closed_at":"2016-02-13T17:07:01Z","body":"I'm not sure how to interpret below message. After I followed all steps in the documentation and ran webpack on dev configuration, I get below error, what does it mean?  I did not setup a webpack-dev-server.\r\n```\r\n[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)\r\n[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)\r\n[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)\r\n```"},"comment":{"url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/comments/183895545","html_url":"https://github.com/halt-hammerzeit/webpack-isomorphic-tools/issues/49#issuecomment-183895545","issue_url":"https://api.github.com/repos/halt-hammerzeit/webpack-isomorphic-tools/issues/49","id":183895545,"user":{"login":"halt-hammerzeit","id":477167,"avatar_url":"https://avatars.githubusercontent.com/u/477167?v=3","gravatar_id":"","url":"https://api.github.com/users/halt-hammerzeit","html_url":"https://github.com/halt-hammerzeit","followers_url":"https://api.github.com/users/halt-hammerzeit/followers","following_url":"https://api.github.com/users/halt-hammerzeit/following{/other_user}","gists_url":"https://api.github.com/users/halt-hammerzeit/gists{/gist_id}","starred_url":"https://api.github.com/users/halt-hammerzeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halt-hammerzeit/subscriptions","organizations_url":"https://api.github.com/users/halt-hammerzeit/orgs","repos_url":"https://api.github.com/users/halt-hammerzeit/repos","events_url":"https://api.github.com/users/halt-hammerzeit/events{/privacy}","received_events_url":"https://api.github.com/users/halt-hammerzeit/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T14:11:38Z","updated_at":"2016-02-14T14:11:38Z","body":"Hmm, if webpack-assets are generated then it should work.\nYou may upload your project to github and i may try to run it\n\nOn Sunday, February 14, 2016, Chandra Veera <notifications@github.com>\nwrote:\n\n> @halt-hammerzeit <https://github.com/halt-hammerzeit> Appreciate prompt\n> response.\n>\n>    1. I've added webpack-isomorphic-tools plugin to me webpack dev\n>    configuration in (projectRoot/webpack directory).\n>\n> var path = require('path');\n> var webpack = require('webpack');\n> var bourbon = require('node-bourbon');\n>\n> var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin')\n> var webpackIsomorphicToolsPlugin = new WebpackIsomorphicToolsPlugin(require('./isomorphic.config'))\n> var ExtractTextPlugin = require('extract-text-webpack-plugin');\n>\n> var sassLoaders = [\n>     'css-loader?sourceMap',\n>     'sass-loader?includePaths[]=' + bourbon.includePaths\n> ];\n>\n> module.exports = {\n>   devtool: 'cheap-source-map',\n>   context: __dirname,\n>   entry: '../lib/client/index.js',\n>   output: {\n>     path: path.resolve(__dirname),\n>     filename: 'app.js',\n>     publicPath: '/build/'\n>   },\n>   sasslint: {\n>     configFile: '../.sass-lint.yml'\n>   },\n>   module: {\n>     preLoaders: [{\n>         test: /\\.scss$/,\n>         loader: 'sasslint',\n>         exclude: /node_modules/\n>     }],\n>     loaders: [{\n>       test: /\\.(js|jsx)$/,\n>       loader: 'babel',\n>       query: {\n>         presets: ['react', 'es2015', 'stage-0']\n>       },\n>       exclude: /node_modules/\n>     }, {\n>       test: /\\.(sass|scss)$/,\n>       loader: sassLoaders.join('!'),\n>       exclude: /node_modules/\n>     },\n>     { test: /\\.woff(\\?v=\\d+\\.\\d+\\.\\d+)?$/, loader: \"url?limit=10000&mimetype=application/font-woff\" },\n>     { test: /\\.woff2(\\?v=\\d+\\.\\d+\\.\\d+)?$/, loader: \"url?limit=10000&mimetype=application/font-woff\" },\n>     { test: /\\.ttf(\\?v=\\d+\\.\\d+\\.\\d+)?$/, loader: \"url?limit=10000&mimetype=application/octet-stream\" },\n>     { test: /\\.eot(\\?v=\\d+\\.\\d+\\.\\d+)?$/, loader: \"file\" },\n>     { test: /\\.svg(\\?v=\\d+\\.\\d+\\.\\d+)?$/, loader: \"url?limit=10000&mimetype=image/svg+xml\" },\n>     { test: webpackIsomorphicToolsPlugin.regular_expression('images'), loader: 'url-loader?limit=10240' }\n>     ]\n>   },\n>   plugins: [\n>     new webpack.DefinePlugin({\n>       __CLIENT__: true,\n>       __SERVER__: false,\n>       __DEVELOPMENT__: true,\n>       __DEVTOOLS__: true  //  <<<--- DISABLE redux-devtools HERE...\n>     }),\n>     webpackIsomorphicToolsPlugin\n>     //  webpackIsomorphicToolsPlugin.development()\n>     // also enter development mode since it's a development webpack configuration\n>     // when in development mode, it disables asset caching (and enables asset hot reload).\n>     // Just call it if you're developing your project with webpack-dev-server using this config\n>     // don't call it for your production webpack build\n>     // .development();\n>   ]\n> };\n>\n>\n>    1. I'm running Webpack build before running the app\n>    2. I'm not using webpack-dev-middleware inside main server code\n>    3. Misconfiguration... here's my isomorphic configuration...\n>\n> var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');\n>\n> // see this link for more info on what all of this means\n> // https://github.com/halt-hammerzeit/webpack-isomorphic-tools\n> module.exports = {\n>\n>   // when adding \"js\" extension to asset types\n>   // and then enabling debug mode, it may cause a weird error:\n>   //\n>   // [0] npm run start-prod exited with code 1\n>   // Sending SIGTERM to other processes..\n>   //\n>   // debug: true,\n>\n>   assets: {\n>     images: {\n>       extensions: ['jpeg', 'jpg', 'png', 'gif'],\n>       parser: WebpackIsomorphicToolsPlugin.url_loader_parser\n>     },\n>     fonts: {\n>       extensions: ['woff', 'woff2', 'ttf', 'eot'],\n>       parser: WebpackIsomorphicToolsPlugin.url_loader_parser\n>     },\n>     svg: {\n>       extension: 'svg',\n>       parser: WebpackIsomorphicToolsPlugin.url_loader_parser\n>     },\n>     style_modules: {\n>       extensions: ['css', 'scss'],\n>       filter: function(module, regex, options, log) {\n>         if (options.development) {\n>           // in development mode there's webpack \"style-loader\",\n>           // so the module.name is not equal to module.name\n>           return WebpackIsomorphicToolsPlugin.style_loader_filter(module, regex, options, log);\n>         } else {\n>           // in production mode there's no webpack \"style-loader\",\n>           // so the module.name will be equal to the asset path\n>           return regex.test(module.name);\n>         }\n>       },\n>       path: function(module, options, log) {\n>         if (options.development) {\n>           // in development mode there's webpack \"style-loader\",\n>           // so the module.name is not equal to module.name\n>           return WebpackIsomorphicToolsPlugin.style_loader_path_extractor(module, options, log);\n>         } else {\n>           // in production mode there's no webpack \"style-loader\",\n>           // so the module.name will be equal to the asset path\n>           return module.name;\n>         }\n>       },\n>       parser: function(module, options, log) {\n>         if (options.development) {\n>           return WebpackIsomorphicToolsPlugin.css_modules_loader_parser(module, options, log);\n>         } else {\n>           // in production mode there's Extract Text Loader which extracts CSS text away\n>           return module.source;\n>         }\n>       }\n>     }\n>   }\n> }\n>\n> It's generating webpack-assets.json in the /projectRoot/webpack directory,\n> which isomorphic-tools plugin is unable to find for some reason. There's\n> something I'm missing in the webpack dev configuration (above) which tells\n> isomorphic plugin to find the webpack-assets.json.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/halt-hammerzeit/webpack-isomorphic-tools/issues/49#issuecomment-183895335>\n> .\n>\n"}}