{"action":"created","issue":{"url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/100","repository_url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar","labels_url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/100/comments","events_url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/100/events","html_url":"https://github.com/MurhafSousli/ngx-progressbar/issues/100","id":279011823,"number":100,"title":"Missing @ngx-progressbar/core/core.ngfactory file in angular 5 app","user":{"login":"davidkudera","id":1174072,"avatar_url":"https://avatars2.githubusercontent.com/u/1174072?v=4","gravatar_id":"","url":"https://api.github.com/users/davidkudera","html_url":"https://github.com/davidkudera","followers_url":"https://api.github.com/users/davidkudera/followers","following_url":"https://api.github.com/users/davidkudera/following{/other_user}","gists_url":"https://api.github.com/users/davidkudera/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkudera/subscriptions","organizations_url":"https://api.github.com/users/davidkudera/orgs","repos_url":"https://api.github.com/users/davidkudera/repos","events_url":"https://api.github.com/users/davidkudera/events{/privacy}","received_events_url":"https://api.github.com/users/davidkudera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-04T14:19:55Z","updated_at":"2017-12-06T11:46:09Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n- [ ] question\r\n```\r\n\r\n### OS and Version?\r\n<!--\r\n> Windows 7, 8 or 10. Linux (which distribution).macOS(Yosemite ? El Capitan? Sierra ?)\r\n-->\r\nUbuntu 17.04 LTS\r\n\r\n### Versions\r\n<!--\r\nOutput from: `ng --version`, in case you are using Angular CLI.\r\nOtherwise, output from: `node --version` , `npm --version` and Angular version.\r\n-->\r\n* node: v8.9.1\r\n* yarn: 1.3.2\r\n* ngx-progressbar/core: 3.0.1\r\n* angular: 5.0.5\r\n* angular/cli: 1.5.5\r\n* ngtools/webpack: 1.8.5\r\n\r\n\r\n### Repro steps\r\n<!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n```bash\r\n$ yarn add @ngx-progressbar/core\r\n```\r\n\r\nRegister module to root `AppModule`:\r\n\r\n```typescript\r\nimport {NgModule} from '@angular/core';\r\nimport {BrowserModule} from '@angular/platform-browser';\r\nimport {NgProgressModule} from '@ngx-progressbar/core';\r\n\r\nimport {AppRoutingModule} from './app-routing.module';\r\nimport {AppComponent} from './app.component';\r\n\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tBrowserModule,\r\n\t\tAppRoutingModule,\r\n\t\tNgProgressModule.forRoot(),\r\n\t],\r\n\tdeclarations: [\r\n\t\tAppComponent,\r\n\t],\r\n\tbootstrap: [AppComponent],\r\n})\r\nexport class AppModule {}\r\n```\r\n\r\n\r\n### The log given by the failure\r\n<!-- Normally this include a stack trace and some more information. -->\r\n```\r\nERROR in ./app/app.component.ngfactory.js\r\nModule not found: Error: Can't resolve '../node_modules/@ngx-progressbar/core/core.ngfactory' in '/path/to/app'\r\n```\r\n\r\n### Desired functionality\r\n<!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nBeing able to compile the project with ngx-progressbar.\r\n\r\n\r\n### Mention any other details that might be useful\r\n<!-- Please include a link to the repo if this is related to an OSS project. -->\r\nI'm using @ngtools/webpack with webpack.\r\n"},"comment":{"url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/comments/349615911","html_url":"https://github.com/MurhafSousli/ngx-progressbar/issues/100#issuecomment-349615911","issue_url":"https://api.github.com/repos/MurhafSousli/ngx-progressbar/issues/100","id":349615911,"user":{"login":"davidkudera","id":1174072,"avatar_url":"https://avatars2.githubusercontent.com/u/1174072?v=4","gravatar_id":"","url":"https://api.github.com/users/davidkudera","html_url":"https://github.com/davidkudera","followers_url":"https://api.github.com/users/davidkudera/followers","following_url":"https://api.github.com/users/davidkudera/following{/other_user}","gists_url":"https://api.github.com/users/davidkudera/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkudera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkudera/subscriptions","organizations_url":"https://api.github.com/users/davidkudera/orgs","repos_url":"https://api.github.com/users/davidkudera/repos","events_url":"https://api.github.com/users/davidkudera/events{/privacy}","received_events_url":"https://api.github.com/users/davidkudera/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T11:46:09Z","updated_at":"2017-12-06T11:46:09Z","author_association":"NONE","body":"Hello, I created test repository with minimum config from our app here: https://github.com/davidkudera/ngx-progressbar-core-issue-100\r\n\r\nThe problem is that we have multiple apps in one project with shared `node_modules` directory. And since all modules have their own `rootDir` specified in their `tsconfig.json` file, the shared `node_modules` is out of their context. Because of this angular don't try to process these files and your package.\r\n\r\nI'm not sure if there is something you can do in this package, or it needs to be done in `angular-cli`, or if I need to change our config somehow."}}
{"actor":{"display_login":"davidkudera"}}