{"action":"created","issue":{"url":"https://api.github.com/repos/dherges/ng-packagr/issues/752","repository_url":"https://api.github.com/repos/dherges/ng-packagr","labels_url":"https://api.github.com/repos/dherges/ng-packagr/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/dherges/ng-packagr/issues/752/comments","events_url":"https://api.github.com/repos/dherges/ng-packagr/issues/752/events","html_url":"https://github.com/dherges/ng-packagr/issues/752","id":312245006,"number":752,"title":"ENOENT: no such file or directory, open .... (but that can not be!!)(please help)","user":{"login":"SerkanSipahi","id":1880749,"avatar_url":"https://avatars2.githubusercontent.com/u/1880749?v=4","gravatar_id":"","url":"https://api.github.com/users/SerkanSipahi","html_url":"https://github.com/SerkanSipahi","followers_url":"https://api.github.com/users/SerkanSipahi/followers","following_url":"https://api.github.com/users/SerkanSipahi/following{/other_user}","gists_url":"https://api.github.com/users/SerkanSipahi/gists{/gist_id}","starred_url":"https://api.github.com/users/SerkanSipahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SerkanSipahi/subscriptions","organizations_url":"https://api.github.com/users/SerkanSipahi/orgs","repos_url":"https://api.github.com/users/SerkanSipahi/repos","events_url":"https://api.github.com/users/SerkanSipahi/events{/privacy}","received_events_url":"https://api.github.com/users/SerkanSipahi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-04-07T21:33:14Z","updated_at":"2018-04-08T21:16:55Z","closed_at":"2018-04-08T19:28:54Z","author_association":"NONE","body":"## Type of Issue\r\n\r\n```\r\n[x ] Bug Report\r\n[ ] Feature Request\r\n```\r\n\r\n## Description\r\nI run into the same issues (see related issues)! But something is really strange! Until yesterday everything worked well but today not. I have changed nothing (no versions updates, etc). That's really frustrating (i tried it on 2 different work stations).  Cant do anything since this morning :( \r\n\r\nng-packagr does not manage to move (`my matmedia files, not some externals, see below header description \"which should be packaged\"`) the corresponding files into the `out` folder during the build process! \r\n\r\nWhen i run `./node_ modules/.bin/ng-packagr` i get follow error (see below).\r\n\r\nRun command:\r\n```\r\n$ node_modules/.bin/ng-packagr\r\nBuilding Angular Package\r\nBuilding entry point '@honey.glass/matmedia'\r\nCleaning build directory\r\nRendering Stylesheets\r\nRendering Templates\r\nCompiling TypeScript sources through ngc\r\nBundling to FESM15\r\nBundling to FESM5\r\nBundling to UMD\r\nMinifying UMD bundle\r\n\r\nBUILD ERROR\r\nENOENT: no such file or directory, open 'test.honey.glass/.ng_pkg_build/honey.glass-matmedia/out/matmedia.directive.config.ts'\r\nError: ENOENT: no such file or directory, open 'est.honey.glass/.ng_pkg_build/honey.glass-matmedia/out/matmedia.directive.config.ts'\r\n```\r\n\r\n#### It seems like it would be a general problem (related issues)\r\nhttps://github.com/dherges/ng-packagr/issues/590 (im not using v1, but v2 and the same error)\r\nhttps://github.com/dherges/ng-packagr/issues/166 (same issue but something with externals)\r\nhttps://github.com/dherges/ng-packagr/issues/81 (same issue)\r\nhttps://github.com/dherges/ng-packagr/issues/694 (the workaround did not work!)\r\nhttps://github.com/dherges/ng-packagr/issues/174 (suggestion to downgrade, but i cant downgrade)\r\nhttps://github.com/dherges/ng-packagr/issues/434 (umdModuleIds: what does that do? do i really need it)\r\n\r\nFolder which should be packaged:\r\n```\r\n.\r\n├── LICENSE.md\r\n├── README.md\r\n├── dummy.component.ts\r\n├── matmedia.directive.config.ts\r\n├── matmedia.directive.interface.ts\r\n├── matmedia.directive.spec.ts\r\n├── matmedia.directive.ts\r\n├── matmedia.module.ts\r\n├── ng-package.json\r\n├── package.json\r\n├── public_api.ts\r\n└── tslint.json\r\n```\r\n\r\nAfter Error:\r\n```\r\n.\r\n├── LICENSE.md\r\n├── README.md\r\n├── dummy.component.ts\r\n├── matmedia.directive.config.ts\r\n├── matmedia.directive.interface.ts\r\n├── matmedia.directive.spec.ts\r\n├── matmedia.directive.ts\r\n├── matmedia.module.ts\r\n├── ng-package.json\r\n├── ng_pkg_build\r\n│   └── honey.glass-matmedia\r\n│       ├── out\r\n│       │   ├── honey.glass-matmedia.d.ts\r\n│       │   ├── honey.glass-matmedia.js\r\n│       │   ├── honey.glass-matmedia.js.map\r\n│       │   ├── honey.glass-matmedia.metadata.json\r\n│       │   ├── matmedia.directive.config.d.ts\r\n│       │   ├── matmedia.directive.config.js\r\n│       │   ├── matmedia.directive.config.js.map\r\n│       │   ├── matmedia.directive.d.ts\r\n│       │   ├── matmedia.directive.interface.d.ts\r\n│       │   ├── matmedia.directive.interface.js\r\n│       │   ├── matmedia.directive.interface.js.map\r\n│       │   ├── matmedia.directive.js\r\n│       │   ├── matmedia.directive.js.map\r\n│       │   ├── matmedia.module.d.ts\r\n│       │   ├── matmedia.module.js\r\n│       │   ├── matmedia.module.js.map\r\n│       │   ├── public_api.d.ts\r\n│       │   ├── public_api.js\r\n│       │   └── public_api.js.map\r\n│       └── stage\r\n│           ├── bundles\r\n│           │   ├── honey.glass-matmedia.umd.js\r\n│           │   ├── honey.glass-matmedia.umd.js.map\r\n│           │   ├── honey.glass-matmedia.umd.min.js\r\n│           │   └── honey.glass-matmedia.umd.min.js.map\r\n│           ├── esm2015\r\n│           │   ├── honey.glass-matmedia.js\r\n│           │   └── honey.glass-matmedia.js.map\r\n│           └── esm5\r\n│               ├── honey.glass-matmedia.js\r\n│               └── honey.glass-matmedia.js.map\r\n├── package-lock.json\r\n├── package.json\r\n├── public_api.ts\r\n└── tslint.json\r\n```\r\n\r\n#### How To Reproduce\r\n*can someone tell me if he gets the same problem with my repo*\r\n```\r\ngit clone https://github.com/SerkanSipahi/test.honey.glass.git\r\ncd test.honey.glass\r\nnpm install\r\n./node_modules/.bin/ng-packagr\r\n```\r\n\r\n#### Expected Behaviour\r\nbuild a package\r\n\r\n#### Version Information\r\n```\r\n$ node_modules/.bin/ng-packagr --version\r\nng-packagr:            2.4.1\r\n@angular/compiler:     5.2.9\r\n@angular/compiler-cli: 5.2.9\r\nrollup:                0.55.5\r\ntsickle:               0.27.5\r\ntypescript:            2.5.3\r\n```\r\nnode --version `v8.9.4`"},"comment":{"url":"https://api.github.com/repos/dherges/ng-packagr/issues/comments/379583305","html_url":"https://github.com/dherges/ng-packagr/issues/752#issuecomment-379583305","issue_url":"https://api.github.com/repos/dherges/ng-packagr/issues/752","id":379583305,"user":{"login":"sellmic","id":16280591,"avatar_url":"https://avatars2.githubusercontent.com/u/16280591?v=4","gravatar_id":"","url":"https://api.github.com/users/sellmic","html_url":"https://github.com/sellmic","followers_url":"https://api.github.com/users/sellmic/followers","following_url":"https://api.github.com/users/sellmic/following{/other_user}","gists_url":"https://api.github.com/users/sellmic/gists{/gist_id}","starred_url":"https://api.github.com/users/sellmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sellmic/subscriptions","organizations_url":"https://api.github.com/users/sellmic/orgs","repos_url":"https://api.github.com/users/sellmic/repos","events_url":"https://api.github.com/users/sellmic/events{/privacy}","received_events_url":"https://api.github.com/users/sellmic/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T21:16:55Z","updated_at":"2018-04-08T21:16:55Z","author_association":"NONE","body":"Thanks for the quick fix! This was killing all our builds!\r\n\r\nNot to be pedantic, but I'm wondering ... is there a unit/integration test that can be added to detect these earlier? Not sure how this project is setup with Jenkins CI builds doing that type of thing ..."}}
{"actor":{"display_login":"sellmic"}}