{"action":"created","issue":{"url":"https://api.github.com/repos/renovatebot/config-help/issues/44","repository_url":"https://api.github.com/repos/renovatebot/config-help","labels_url":"https://api.github.com/repos/renovatebot/config-help/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/renovatebot/config-help/issues/44/comments","events_url":"https://api.github.com/repos/renovatebot/config-help/issues/44/events","html_url":"https://github.com/renovatebot/config-help/issues/44","id":325351627,"number":44,"title":"\"Lock file problem\" with local (on desk) packages","user":{"login":"ahmedelgabri","id":63876,"avatar_url":"https://avatars0.githubusercontent.com/u/63876?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedelgabri","html_url":"https://github.com/ahmedelgabri","followers_url":"https://api.github.com/users/ahmedelgabri/followers","following_url":"https://api.github.com/users/ahmedelgabri/following{/other_user}","gists_url":"https://api.github.com/users/ahmedelgabri/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedelgabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedelgabri/subscriptions","organizations_url":"https://api.github.com/users/ahmedelgabri/orgs","repos_url":"https://api.github.com/users/ahmedelgabri/repos","events_url":"https://api.github.com/users/ahmedelgabri/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedelgabri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-22T15:37:56Z","updated_at":"2018-05-22T19:42:46Z","closed_at":null,"author_association":"NONE","body":"node module resolution allows for doing this\r\n\r\n```json\r\n{\r\n  \"foo\": \"file:./path/to/foo/folder\",\r\n  \"bar\": \"file:./path/to/bar/folder\",\r\n}\r\n```\r\n\r\nbut `npm` will only accept this if you have a `package.json` file in each of these directories, while `yarn` will happily work without any problems.\r\n\r\nWe use `yarn` but renovate keeps having problems with `yarn.lock` which causes lots of noise in the PR with this type of message:\r\n\r\n> ### Lock file problem\r\n>\r\n> Renovate failed when attempting to generate a lock file. This is usually happens when you have private modules but have not added configuration for [private module support](https://renovateapp.com/docs/deep-dives/private-modules). It is strongly recommended that you do not merge this PR as-is.\r\n>\r\n> Renovate **will not retry** generating a lockfile for this PR unless either (a) the `package.json` in this branch needs updating, or (b) you rename then delete this PR unmerged, so that it can be regenerated.\r\n>\r\n> The output from `stderr` is included below:\r\n>\r\n> ##### yarn.lock\r\n>\r\n> ```\r\n> error An unexpected error occurred: \"Package \\\"foo\\\" refers to a non-existing file '\\\"/tmp/tmp-302VAClp2yPICJ/path/to/foo/folder\\\"'.\".\r\n>\r\n>```\r\n\r\nSo how can I tell the app to ignore these packages or mark them safe or skip them? Keeping in mind that I already added them to `ignoreDeps` but that didn't change anything.\r\n\r\n```json\r\n{\r\n  \"ignoreDeps\": [\r\n    \"foo\",\r\n    \"bar\"\r\n  ]\r\n}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/renovatebot/config-help/issues/comments/391116376","html_url":"https://github.com/renovatebot/config-help/issues/44#issuecomment-391116376","issue_url":"https://api.github.com/repos/renovatebot/config-help/issues/44","id":391116376,"user":{"login":"rarkins","id":6311784,"avatar_url":"https://avatars1.githubusercontent.com/u/6311784?v=4","gravatar_id":"","url":"https://api.github.com/users/rarkins","html_url":"https://github.com/rarkins","followers_url":"https://api.github.com/users/rarkins/followers","following_url":"https://api.github.com/users/rarkins/following{/other_user}","gists_url":"https://api.github.com/users/rarkins/gists{/gist_id}","starred_url":"https://api.github.com/users/rarkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarkins/subscriptions","organizations_url":"https://api.github.com/users/rarkins/orgs","repos_url":"https://api.github.com/users/rarkins/repos","events_url":"https://api.github.com/users/rarkins/events{/privacy}","received_events_url":"https://api.github.com/users/rarkins/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T19:42:46Z","updated_at":"2018-05-22T19:42:46Z","author_association":"COLLABORATOR","body":"On that case I may be able to solve this merely by writing an empty directory matching what yarn expects. Is the affected repo using the official GitHub app?\n\n________________________________\nFrom: Ahmed El Gabri <notifications@github.com>\nSent: Tuesday, May 22, 2018 9:40:54 PM\nTo: renovatebot/config-help\nCc: Rhys Arkins; Comment\nSubject: Re: [renovatebot/config-help] \"Lock file problem\" with local (on desk) packages (#44)\n\n\nI think it's a placeholder because I have only one package.json file in the whole repo & even that has a version 1.0.0\n\n—\nYou are receiving this because you commented.\nReply to this email directly, view it on GitHub<https://github.com/renovatebot/config-help/issues/44#issuecomment-391115800>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGBPaHVGdY8UiYGCB4sOBK8rskoBr9XZks5t1GnGgaJpZM4UI5m4>.\n"}}
{"actor":{"display_login":"rarkins"}}