{"action":"opened","issue":{"url":"https://api.github.com/repos/stefanwalther/sense-export/issues/39","repository_url":"https://api.github.com/repos/stefanwalther/sense-export","labels_url":"https://api.github.com/repos/stefanwalther/sense-export/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/stefanwalther/sense-export/issues/39/comments","events_url":"https://api.github.com/repos/stefanwalther/sense-export/issues/39/events","html_url":"https://github.com/stefanwalther/sense-export/issues/39","id":304745757,"number":39,"title":"Build fails for the 'release' task but works for 'build'","user":{"login":"cernautan","id":1012380,"avatar_url":"https://avatars1.githubusercontent.com/u/1012380?v=4","gravatar_id":"","url":"https://api.github.com/users/cernautan","html_url":"https://github.com/cernautan","followers_url":"https://api.github.com/users/cernautan/followers","following_url":"https://api.github.com/users/cernautan/following{/other_user}","gists_url":"https://api.github.com/users/cernautan/gists{/gist_id}","starred_url":"https://api.github.com/users/cernautan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cernautan/subscriptions","organizations_url":"https://api.github.com/users/cernautan/orgs","repos_url":"https://api.github.com/users/cernautan/repos","events_url":"https://api.github.com/users/cernautan/events{/privacy}","received_events_url":"https://api.github.com/users/cernautan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T12:32:43Z","updated_at":"2018-03-13T12:32:43Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nOn a fresh clone of this project, a 'build' completes successfully while a 'release' fails\r\n\r\n### Steps to Reproduce\r\n\r\n1. clone this repository\r\n2. execute `yarn` to gather all dependencies\r\n3. execute: `./node_modules/.bin/sense-go build` - the command completes successfully\r\n4. execute: `./node_modules/.bin/sense-go release` - the command fails and the log shows:\r\n \r\n> [15:17:56] uglify:tmp An error occurred. Use -d to show details\r\n> [15:17:56] release An error occurred. Use -d to show details\r\n\r\n5. execute: `./node_modules/.bin/sense-go release -` - the command fails but shows more information on the error\r\n\r\n> [15:18:10] uglify:tmp An error occurred. Here are the details:\r\n> error { uid: 7,\r\n>   name: 'uglify:tmp',\r\n>   branch: false,\r\n>   error:\r\n>    { GulpUglifyError: unable to minify JavaScript\r\n> Caused by: DefaultsError: `beautify` is not a supported option\r\n> File: C:\\work\\sources\\forks\\sense-export\\.tmp\\initialproperties.js\r\n>     at createError (C:\\work\\sources\\forks\\sense-export\\node_modules\\gulp-uglify\\lib\\create-error.js:6:14)\r\n>     at apply (C:\\work\\sources\\forks\\sense-export\\node_modules\\lodash\\_apply.js:16:25)\r\n>     at wrapper (C:\\work\\sources\\forks\\sense-export\\node_modules\\lodash\\_createCurry.js:41:12)\r\n>     at C:\\work\\sources\\forks\\sense-export\\node_modules\\gulp-uglify\\lib\\minify.js:54:15\r\n>     at DestroyableTransform._transform (C:\\work\\sources\\forks\\sense-export\\node_modules\\gulp-uglify\\composer.js:10:23)\r\n>     at DestroyableTransform.Transform._read (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_transform.js:159:10)\r\n>     at DestroyableTransform.Transform._write (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_transform.js:147:83)\r\n>     at doWrite (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_writable.js:338:64)\r\n>     at writeOrBuffer (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_writable.js:327:5)\r\n>     at DestroyableTransform.Writable.write (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_writable.js:264:11)\r\n>     at DestroyableTransform.ondata (C:\\work\\sources\\forks\\sense-export\\node_modules\\readable-stream\\lib\\_stream_readable.js:541:20)\r\n>     at emitOne (events.js:116:13)\r\n\r\n... - the stack track continues.\r\n\r\n#### Expected behavior\r\n\r\nThe build should completes successfully for the 'release' task.\r\n\r\n#### Actual behavior\r\n\r\nSee section 'Steps to reproduce'.\r\n\r\n### Environment\r\n\r\n- node v8.10.0\r\n- npm 5.6.0\r\n- yarn v1.3.2\r\n\r\n#### Operating system\r\n\r\n```\r\n[x ] Windows\r\n[ ] OSX\r\n[ ] Linux\r\n```\r\n\r\nI added this issue for tracking purpose. The fix is to upgrade the sense-go version that is used by this project. I will submit briefly a pull request for this.\r\n"}}
{"actor":{"display_login":"cernautan"}}