{"action":"created","issue":{"url":"https://api.github.com/repos/storybooks/storybook/issues/3061","repository_url":"https://api.github.com/repos/storybooks/storybook","labels_url":"https://api.github.com/repos/storybooks/storybook/issues/3061/labels{/name}","comments_url":"https://api.github.com/repos/storybooks/storybook/issues/3061/comments","events_url":"https://api.github.com/repos/storybooks/storybook/issues/3061/events","html_url":"https://github.com/storybooks/storybook/issues/3061","id":299757423,"number":3061,"title":"Storybook throwing error: module build failed with latest Angular and Typescript","user":{"login":"EmmaTwersky","id":15061394,"avatar_url":"https://avatars0.githubusercontent.com/u/15061394?v=4","gravatar_id":"","url":"https://api.github.com/users/EmmaTwersky","html_url":"https://github.com/EmmaTwersky","followers_url":"https://api.github.com/users/EmmaTwersky/followers","following_url":"https://api.github.com/users/EmmaTwersky/following{/other_user}","gists_url":"https://api.github.com/users/EmmaTwersky/gists{/gist_id}","starred_url":"https://api.github.com/users/EmmaTwersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmmaTwersky/subscriptions","organizations_url":"https://api.github.com/users/EmmaTwersky/orgs","repos_url":"https://api.github.com/users/EmmaTwersky/repos","events_url":"https://api.github.com/users/EmmaTwersky/events{/privacy}","received_events_url":"https://api.github.com/users/EmmaTwersky/received_events","type":"User","site_admin":false},"labels":[{"id":642055226,"url":"https://api.github.com/repos/storybooks/storybook/labels/app:%20angular","name":"app: angular","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T15:53:26Z","updated_at":"2018-03-24T01:08:07Z","closed_at":null,"author_association":"NONE","body":"### Issue details\r\n\r\nWhen compiling storybook with the latest versions on ts and Angular, I'm getting errors building the node modules saying theres a syntax error in the styles.css, but that is an empty file. Then when trying to load the page, I get \r\n\r\nError: ENOENT: no such file or directory, stat '/Users/vuv915/TDP/angular-storybook-poc/angular-with-storybook/node_modules/@storybook/core/dist/server/public/index.html'\r\n    at Error (native)\r\n\r\n```\r\nnpm run storybook\r\n\r\n> angular-with-storybook@0.0.0 storybook /Users/vuv915/TDP/angular-storybook-poc/angular-with-storybook\r\n> start-storybook -p 9001 -c .storybook\r\n\r\ninfo @storybook/angular v3.4.0-alpha.9\r\ninfo \r\ninfo => Loading custom addons config.\r\ninfo => Loading angular-cli config.\r\ninfo => Get angular-cli webpack config.\r\ninfo => Loading custom webpack config (full-control mode).\r\ninfo => Get angular-cli webpack config.\r\n 10% building modules 3/3 modules 0 active(node:16693) DeprecationWarning: importing default webpack config generator from '@storybook/angular/dist/server/config/defaults/webpack.config.js' is deprecated. Use third argument of your exported function instead. See https://storybook.js.org/configurations/custom-webpack-config/#full-control-mode--default\r\nwebpack built 7c3c15ebd99393f29fa6 in 14298ms                                           \r\nHash: 7c3c15ebd99393f29fa6\r\nVersion: webpack 3.11.0\r\nTime: 14298ms\r\n                       Asset     Size  Chunks  Chunk Names\r\n    static/manager.bundle.js  2.82 MB       0  manager\r\n    static/preview.bundle.js  4.07 MB       1  preview\r\n     static/styles.bundle.js  29.1 kB       2  styles\r\nstatic/manager.bundle.js.map  3.44 MB       0  manager\r\nstatic/preview.bundle.js.map  4.74 MB       1  preview\r\n static/styles.bundle.js.map  29.7 kB       2  styles\r\n [376] ./node_modules/@storybook/angular/dist/server/config/polyfills.js 74 bytes {0} {1} [built]\r\n [585] multi ./.storybook/addons.js ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/core/dist/client/manager/index.js 52 bytes {0} [built]\r\n [586] ./.storybook/addons.js 268 bytes {0} [built]\r\n [590] ./node_modules/@storybook/addon-links/register.js 30 bytes {0} [built]\r\n [591] ./node_modules/@storybook/core/dist/client/manager/index.js 423 bytes {0} [built]\r\n [801] ./node_modules/@storybook/core/dist/client/manager/provider.js 3.35 kB {0} [built]\r\n [803] multi ./node_modules/@storybook/angular/dist/server/config/polyfills.js ./node_modules/@storybook/angular/dist/server/config/globals.js (webpack)-hot-middleware/client.js?reload=true ./.storybook/config.js 64 bytes {1} [built]\r\n [804] ./node_modules/@storybook/angular/dist/server/config/globals.js 107 bytes {1} [built]\r\n [805] (webpack)-hot-middleware/client.js?reload=true 7.35 kB {1} [built]\r\n [809] ./node_modules/strip-ansi/index.js 161 bytes {1} [built]\r\n [811] (webpack)-hot-middleware/client-overlay.js 2.21 kB {1} [built]\r\n [816] (webpack)-hot-middleware/process-update.js 4.33 kB {1} [built]\r\n [817] ./.storybook/config.js 144 bytes {1} [built]\r\n [892] multi ./src/styles.css 28 bytes {2} [built]\r\n [893] ./src/styles.css 1.07 kB {2} [built] [failed] [1 error]\r\n    + 879 hidden modules\r\n\r\nERROR in ./src/styles.css\r\nModule build failed: Syntax Error \r\n\r\n(5:1) Unknown word\r\n\r\n  3 | // load the styles\r\n  4 | var content = require(\"!!../node_modules/raw-loader/index.js!../node_modules/postcss-loader/lib/index.js??embedded!../node_modules/@storybook/core/node_modules/style-loader/index.js!../node_modules/css-loader/index.js??ref--13-1!../node_modules/postcss-loader/lib/index.js??postcss!./styles.css\");\r\n> 5 | if(typeof content === 'string') content = [[module.id, content, '']];\r\n    | ^\r\n  6 | // Prepare cssTransformation\r\n  7 | var transform;\r\n\r\n @ multi ./src/styles.css\r\nChild html-webpack-plugin for \"index.html\":\r\n         Asset    Size  Chunks  Chunk Names\r\n    index.html  569 kB       0  \r\n       [0] ./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@storybook/angular/dist/server/index.html.ejs 1.69 kB {0} [built]\r\n       [1] ./node_modules/lodash/lodash.js 540 kB {0} [built]\r\n       [2] (webpack)/buildin/global.js 509 bytes {0} [built]\r\n       [3] (webpack)/buildin/module.js 517 bytes {0} [built]\r\nChild html-webpack-plugin for \"iframe.html\":\r\n          Asset    Size  Chunks  Chunk Names\r\n    iframe.html  568 kB       0  \r\n       [0] ./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@storybook/angular/dist/server/iframe.html.ejs 974 bytes {0} [built]\r\n       [1] ./node_modules/lodash/lodash.js 540 kB {0} [built]\r\n       [2] (webpack)/buildin/global.js 509 bytes {0} [built]\r\n       [3] (webpack)/buildin/module.js 517 bytes {0} [built]\r\nError: ENOENT: no such file or directory, stat '/Users/vuv915/TDP/angular-storybook-poc/angular-with-storybook/node_modules/@storybook/core/dist/server/public/index.html'\r\n    at Error (native)\r\n```\r\n\r\n### Please specify which version of Storybook and optionally any affected addons that you're running\r\n\r\n3.4.0-alpha.7"},"comment":{"url":"https://api.github.com/repos/storybooks/storybook/issues/comments/375835238","html_url":"https://github.com/storybooks/storybook/issues/3061#issuecomment-375835238","issue_url":"https://api.github.com/repos/storybooks/storybook/issues/3061","id":375835238,"user":{"login":"stale[bot]","id":26384082,"avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-03-24T01:08:07Z","updated_at":"2018-03-24T01:08:07Z","author_association":"NONE","body":"Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!\n"}}
{"actor":{"display_login":"stale"}}