{"action":"created","issue":{"url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/1","repository_url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image","labels_url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/1/comments","events_url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/1/events","html_url":"https://github.com/Tangerine-Community/docker-tangerine-base-image/issues/1","id":309769762,"number":1,"title":"Issue building docker image when adding some cordova plugins","user":{"login":"chrisekelley","id":861535,"avatar_url":"https://avatars2.githubusercontent.com/u/861535?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisekelley","html_url":"https://github.com/chrisekelley","followers_url":"https://api.github.com/users/chrisekelley/followers","following_url":"https://api.github.com/users/chrisekelley/following{/other_user}","gists_url":"https://api.github.com/users/chrisekelley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisekelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisekelley/subscriptions","organizations_url":"https://api.github.com/users/chrisekelley/orgs","repos_url":"https://api.github.com/users/chrisekelley/repos","events_url":"https://api.github.com/users/chrisekelley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisekelley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-29T14:09:26Z","updated_at":"2018-03-29T14:23:47Z","closed_at":null,"author_association":"OWNER","body":"Some plugins install, others throw an error. \r\n\r\nWhile running these commands:\r\n\r\n```\r\nRUN cordova plugin add cordova-plugin-whitelist --save\r\nRUN cordova plugin add cordova-plugin-geolocation --save\r\nRUN cordova plugin add cordova-plugin-camera --save\r\nRUN cordova plugin add cordova-plugin-file --save\r\nRUN cordova plugin add cordova-android-support-gradle-release --save\r\nRUN cordova plugin add cordova-hot-code-push-plugin --save\r\n```\r\n\r\nI get errors similar to this for:\r\n- cordova-plugin-whitelist\r\n- cordova-plugin-geolocation\r\n- cordova-plugin-file\r\n- cordova-android-support-gradle-release\r\n- cordova-hot-code-push-plugin\r\n\r\nBut not for cordova-plugin-camera!\r\n\r\n```\r\nStep 43 : RUN cordova plugin add cordova-plugin-whitelist --save\r\n ---> Running in 992be17292f6\r\n\r\nYou have been opted out of telemetry. To change this, run: cordova telemetry on.\r\n(node:5) UnhandledPromiseRejectionWarning: Error: spawn ETXTBSY\r\n    at ChildProcess.spawn (internal/child_process.js:330:11)\r\n    at Object.exports.spawn (child_process.js:500:9)\r\n    at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:134:31)\r\n    at Object.exports.maybeSpawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:186:24)\r\n    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/util.js:242:27\r\n    at Array.map (<anonymous>)\r\n    at Object.getInstalledPlatformsWithVersions (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/util.js:240:34)\r\n    at Function.getFetchVersion (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin/add.js:348:29)\r\n    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin/add.js:291:35\r\n    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:854:54)\r\n(node:5) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:5) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n ---> 052bcd827946\r\n```\r\n\r\nWhat is surprising is that cordova is still able to say it has successfully built the apk!\r\n\r\n```\r\nStep 49 : RUN cordova build\r\n ---> Running in bb49b7e2d8a4\r\n\r\nbeep boop\r\n\r\nBUILD SUCCESSFUL in 2m 4s\r\n```\r\n\r\nHere are some listings of the plugins:\r\n\r\n```\r\nroot@e23dd17b84b4:/.tmp-apk# cordova plugins ls\r\ncordova-android-support-gradle-release 1.3.0 \"cordova-android-support-gradle-release\"\r\ncordova-hot-code-push-plugin 1.5.3 \"Hot Code Push Plugin\"\r\ncordova-plugin-camera 4.0.2 \"Camera\"\r\nroot@e23dd17b84b4:/.tmp-apk# ls -lsa plugins/\r\ntotal 28\r\n4 drwxr-xr-x  5 root root 4096 Mar 29 13:38 .\r\n4 drwxr-xr-x 22 root root 4096 Mar 29 14:07 ..\r\n4 -rw-r--r--  1 root root  386 Mar 29 13:38 android.json\r\n4 drwxr-xr-x  3 root root 4096 Mar 29 13:38 cordova-android-support-gradle-release\r\n4 drwxr-xr-x  6 root root 4096 Mar 29 13:38 cordova-hot-code-push-plugin\r\n4 drwxr-xr-x  9 root root 4096 Mar 29 13:38 cordova-plugin-camera\r\n4 -rw-r--r--  1 root root  551 Mar 29 13:38 fetch.json\r\n```\r\n\r\nThis is similar to the issue here: https://github.com/nordnet/cordova-hot-code-push/issues/319\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/comments/377251584","html_url":"https://github.com/Tangerine-Community/docker-tangerine-base-image/issues/1#issuecomment-377251584","issue_url":"https://api.github.com/repos/Tangerine-Community/docker-tangerine-base-image/issues/1","id":377251584,"user":{"login":"chrisekelley","id":861535,"avatar_url":"https://avatars2.githubusercontent.com/u/861535?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisekelley","html_url":"https://github.com/chrisekelley","followers_url":"https://api.github.com/users/chrisekelley/followers","following_url":"https://api.github.com/users/chrisekelley/following{/other_user}","gists_url":"https://api.github.com/users/chrisekelley/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisekelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisekelley/subscriptions","organizations_url":"https://api.github.com/users/chrisekelley/orgs","repos_url":"https://api.github.com/users/chrisekelley/repos","events_url":"https://api.github.com/users/chrisekelley/events{/privacy}","received_events_url":"https://api.github.com/users/chrisekelley/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T14:23:47Z","updated_at":"2018-03-29T14:23:47Z","author_association":"OWNER","body":"Aparently \"ETXTBSY is a libc error that's raised when a process tries to modify a currently executing file.\"\r\n\r\nhttps://github.com/npm/npm/issues/5526\r\n\r\nMaybe place a 3 second pause between each cordova add? \r\n\r\nI'm doing the install on a smaller AWS instance. Maybe it is running out of resources."}}
{"actor":{"display_login":"chrisekelley"}}