{"action":"opened","issue":{"url":"https://api.github.com/repos/FormidableLabs/react-live/issues/76","repository_url":"https://api.github.com/repos/FormidableLabs/react-live","labels_url":"https://api.github.com/repos/FormidableLabs/react-live/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/react-live/issues/76/comments","events_url":"https://api.github.com/repos/FormidableLabs/react-live/issues/76/events","html_url":"https://github.com/FormidableLabs/react-live/issues/76","id":335160387,"node_id":"MDU6SXNzdWUzMzUxNjAzODc=","number":76,"title":"yarn build fails in demo project","user":{"login":"SokichiFujita","id":15647722,"node_id":"MDQ6VXNlcjE1NjQ3NzIy","avatar_url":"https://avatars2.githubusercontent.com/u/15647722?v=4","gravatar_id":"","url":"https://api.github.com/users/SokichiFujita","html_url":"https://github.com/SokichiFujita","followers_url":"https://api.github.com/users/SokichiFujita/followers","following_url":"https://api.github.com/users/SokichiFujita/following{/other_user}","gists_url":"https://api.github.com/users/SokichiFujita/gists{/gist_id}","starred_url":"https://api.github.com/users/SokichiFujita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SokichiFujita/subscriptions","organizations_url":"https://api.github.com/users/SokichiFujita/orgs","repos_url":"https://api.github.com/users/SokichiFujita/repos","events_url":"https://api.github.com/users/SokichiFujita/events{/privacy}","received_events_url":"https://api.github.com/users/SokichiFujita/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-24T08:04:08Z","updated_at":"2018-06-24T08:04:08Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nWhen I build the `/demo` project after building the main(`/`) project, following error occurs at the dependency resolution process of webpack.\r\n\r\n```\r\n➜  demo git:(master) ✗ yarn build\r\nyarn run v1.7.0\r\n$ next build\r\n(node:16989) ExperimentalWarning: The fs.promises API is experimental\r\n> Using external babel configuration\r\n> Location: \"/ ... /react-live/demo/.babelrc\"\r\n> Failed to build\r\n{ Error: (server) ./pages/_document.js\r\nModule not found: Error: Can't resolve 'react-live/lib/constants/css' in '/ ... /react-live/demo/pages'\r\n:\r\n:\r\n```\r\n\r\n`pages/_document.js` requires the `/lib` directory, but there is no `/lib` in the `demo/node_modules/react-live`. I think `/lib` has been changed to `/dist` at the current master.\r\n\r\nDo you know the way to generate `/lib` or to resolve the dependency?\r\nI've tried all npm scripts for `/` and `/demo`.\r\n\r\n"}}
{"actor":{"display_login":"SokichiFujita"}}