{"action":"created","issue":{"url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/5","repository_url":"https://api.github.com/repos/leboncoin/morphlingjs","labels_url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/5/comments","events_url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/5/events","html_url":"https://github.com/leboncoin/morphlingjs/issues/5","id":272522995,"number":5,"title":"Error: morphlingjs@0.1.99 postinstall: `NODE_PORT=1 docker-compose build`","user":{"login":"toumas","id":22852702,"avatar_url":"https://avatars2.githubusercontent.com/u/22852702?v=4","gravatar_id":"","url":"https://api.github.com/users/toumas","html_url":"https://github.com/toumas","followers_url":"https://api.github.com/users/toumas/followers","following_url":"https://api.github.com/users/toumas/following{/other_user}","gists_url":"https://api.github.com/users/toumas/gists{/gist_id}","starred_url":"https://api.github.com/users/toumas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toumas/subscriptions","organizations_url":"https://api.github.com/users/toumas/orgs","repos_url":"https://api.github.com/users/toumas/repos","events_url":"https://api.github.com/users/toumas/events{/privacy}","received_events_url":"https://api.github.com/users/toumas/received_events","type":"User","site_admin":false},"labels":[{"id":730436157,"url":"https://api.github.com/repos/leboncoin/morphlingjs/labels/help%20wanted","name":"help wanted","color":"33aa3f","default":true}],"state":"open","locked":false,"assignee":{"login":"vroudge","id":6179007,"avatar_url":"https://avatars0.githubusercontent.com/u/6179007?v=4","gravatar_id":"","url":"https://api.github.com/users/vroudge","html_url":"https://github.com/vroudge","followers_url":"https://api.github.com/users/vroudge/followers","following_url":"https://api.github.com/users/vroudge/following{/other_user}","gists_url":"https://api.github.com/users/vroudge/gists{/gist_id}","starred_url":"https://api.github.com/users/vroudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vroudge/subscriptions","organizations_url":"https://api.github.com/users/vroudge/orgs","repos_url":"https://api.github.com/users/vroudge/repos","events_url":"https://api.github.com/users/vroudge/events{/privacy}","received_events_url":"https://api.github.com/users/vroudge/received_events","type":"User","site_admin":false},"assignees":[{"login":"vroudge","id":6179007,"avatar_url":"https://avatars0.githubusercontent.com/u/6179007?v=4","gravatar_id":"","url":"https://api.github.com/users/vroudge","html_url":"https://github.com/vroudge","followers_url":"https://api.github.com/users/vroudge/followers","following_url":"https://api.github.com/users/vroudge/following{/other_user}","gists_url":"https://api.github.com/users/vroudge/gists{/gist_id}","starred_url":"https://api.github.com/users/vroudge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vroudge/subscriptions","organizations_url":"https://api.github.com/users/vroudge/orgs","repos_url":"https://api.github.com/users/vroudge/repos","events_url":"https://api.github.com/users/vroudge/events{/privacy}","received_events_url":"https://api.github.com/users/vroudge/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-11-09T11:00:59Z","updated_at":"2017-11-16T15:52:27Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\nI'd be very interested in trying this tool out but when i run `npm i -g morphlingjs` I get an error stating that postinstall failed. I haven't used `docker` before so it could be also that.\r\n\r\nHere's npm log:\r\n```\r\n24100 error Windows_NT 10.0.15063\r\n24101 error argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"i\" \"-g\" \"morphlingjs\"\r\n24102 error node v6.10.3\r\n24103 error npm  v3.10.10\r\n24104 error code ELIFECYCLE\r\n24105 error morphlingjs@0.1.99 postinstall: `NODE_PORT=1 docker-compose build`\r\n24105 error Exit status 1\r\n24106 error Failed at the morphlingjs@0.1.99 postinstall script 'NODE_PORT=1 docker-compose build'.\r\n24106 error Make sure you have the latest version of node.js and npm installed.\r\n24106 error If you do, this is most likely a problem with the morphlingjs package,\r\n24106 error not with npm itself.\r\n24106 error Tell the author that this fails on your system:\r\n24106 error     NODE_PORT=1 docker-compose build\r\n24106 error You can get information on how to open an issue for this project with:\r\n24106 error     npm bugs morphlingjs\r\n24106 error Or if that isn't available, you can get their info via:\r\n24106 error     npm owner ls morphlingjs\r\n24106 error There is likely additional logging output above.\r\n24107 verbose exit [ 1, true ]\r\n```"},"comment":{"url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/comments/344965881","html_url":"https://github.com/leboncoin/morphlingjs/issues/5#issuecomment-344965881","issue_url":"https://api.github.com/repos/leboncoin/morphlingjs/issues/5","id":344965881,"user":{"login":"pmachart","id":13162979,"avatar_url":"https://avatars1.githubusercontent.com/u/13162979?v=4","gravatar_id":"","url":"https://api.github.com/users/pmachart","html_url":"https://github.com/pmachart","followers_url":"https://api.github.com/users/pmachart/followers","following_url":"https://api.github.com/users/pmachart/following{/other_user}","gists_url":"https://api.github.com/users/pmachart/gists{/gist_id}","starred_url":"https://api.github.com/users/pmachart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmachart/subscriptions","organizations_url":"https://api.github.com/users/pmachart/orgs","repos_url":"https://api.github.com/users/pmachart/repos","events_url":"https://api.github.com/users/pmachart/events{/privacy}","received_events_url":"https://api.github.com/users/pmachart/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T15:52:26Z","updated_at":"2017-11-16T15:52:26Z","author_association":"NONE","body":"doing `NODE_PORT=1 docker-compose build` is the bash way of creating a\n\"local\" environment variable to be used by the program in the command line\nit seems to just not work on windows CLI.\n\ntry doing `SET NODE_PORT=1` and then `docker-compose build`\nit might just work.\n\nOn Thu, Nov 16, 2017 at 3:44 PM, Tuomas Ukkola <notifications@github.com>\nwrote:\n\n> Hi. Running NODE_PORT=1 docker-compose build gives me 'NODE_PORT' is not\n> recognized as an internal or external command, operable program or batch\n> file. error. So I tried replacing ${NODE_PORT} with 1 in\n> docker-compose.yml and tried again but got\n>\n> Building web\n> Traceback (most recent call last):\n>   File \"docker-compose\", line 6, in <module>\n>   File \"compose\\cli\\main.py\", line 68, in main\n>   File \"compose\\cli\\main.py\", line 121, in perform_command\n>   File \"compose\\cli\\main.py\", line 249, in build\n>   File \"compose\\project.py\", line 343, in build\n>   File \"compose\\service.py\", line 918, in build\n>   File \"site-packages\\docker\\api\\build.py\", line 246, in build\n>   File \"site-packages\\docker\\utils\\decorators.py\", line 46, in inner\n>   File \"site-packages\\docker\\api\\client.py\", line 185, in _post\n>   File \"site-packages\\requests\\sessions.py\", line 522, in post\n>   File \"site-packages\\requests\\sessions.py\", line 475, in request\n>   File \"site-packages\\requests\\sessions.py\", line 596, in send\n>   File \"site-packages\\requests\\adapters.py\", line 423, in send\n>   File \"site-packages\\requests\\packages\\urllib3\\connectionpool.py\", line 595, in urlopen\n>   File \"site-packages\\requests\\packages\\urllib3\\connectionpool.py\", line 363, in _make_request\n>   File \"httplib.py\", line 1042, in request\n>   File \"httplib.py\", line 1082, in _send_request\n>   File \"httplib.py\", line 1038, in endheaders\n>   File \"httplib.py\", line 882, in _send_output\n>   File \"httplib.py\", line 844, in send\n>   File \"site-packages\\docker\\transport\\npipeconn.py\", line 31, in connect\n>   File \"site-packages\\docker\\transport\\npipesocket.py\", line 22, in wrapped\n>   File \"site-packages\\docker\\transport\\npipesocket.py\", line 50, in connect\n> pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')\n> Failed to execute script docker-compose\n>\n> Sorry for late reply @vroudge <https://github.com/vroudge>\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/leboncoin/morphlingjs/issues/5#issuecomment-344943469>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AMjZ40Ap0ADnrYbIPJ_P2vBhGxz8IAWaks5s3EpSgaJpZM4QXyiz>\n> .\n>\n\n\n\n-- \nCordialement,\nPierre-Marie Achart.\n"}}
{"actor":{"display_login":"pmachart"}}