{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/152","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/152/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/152/events","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/issues/152","id":52880753,"number":152,"title":"yoga: permission denied writing exports","user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-26T04:23:13Z","updated_at":"2015-01-01T23:50:25Z","closed_at":"2014-12-29T17:00:02Z","body":"I just tested the yoga branch out on Flynn and ran into this error:\r\n\r\n```text\r\n-----> Building dependencies\r\n       Installing node modules\r\n       npm WARN package.json node-example@0.0.1 No description\r\n       npm WARN package.json node-example@0.0.1 No repository field.\r\nremote: /tmp/buildpacks/heroku-buildpack-nodejs/bin/compile: line 191: /tmp/buildpacks/heroku-buildpack-nodejs/export: Permission denied\r\n```\r\n\r\nIt looks like the buildpack [is trying to write](https://github.com/heroku/heroku-buildpack-nodejs/blob/b74bef6bd2111002e1f69799fd8fdc4d5c5573e9/bin/compile#L190-L192) some files in its own source tree which fails because we have it set up to be read-only.\r\n\r\nWhat is the reason for writing the `export` file? Is it incorrect to mark the buildpack source directory as read-only?"},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/comments/68502711","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/issues/152#issuecomment-68502711","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/152","id":68502711,"user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T23:50:25Z","updated_at":"2015-01-01T23:50:25Z","body":"Thanks!"}}