[jira] [Resolved] (MYRIAD-296) Build broken by Gulp Error

2019-07-16 Thread Javi Roman (JIRA)


 [ 
https://issues.apache.org/jira/browse/MYRIAD-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javi Roman resolved MYRIAD-296.
---
Resolution: Fixed

> Build broken by Gulp Error
> --
>
> Key: MYRIAD-296
> URL: https://issues.apache.org/jira/browse/MYRIAD-296
> Project: Myriad
>  Issue Type: Bug
>  Components: Scheduler, User Interface
>Affects Versions: Myriad 0.4.0
>Reporter: Javi Roman
>Assignee: Oscar Fernandez
>Priority: Major
>  Labels: build
> Fix For: Myriad 0.4.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> {noformat}
> $ ./gradlew gulp_build
> Parallel execution is an incubating feature.
> :myriad-scheduler:nodeSetup UP-TO-DATE
> :myriad-scheduler:installGulp UP-TO-DATE
> :myriad-scheduler:npmSetup SKIPPED
> :myriad-scheduler:npmInstallnpm WARN deprecated gulp-util@3.0.8: gulp-util is 
> deprecated - replace it, following the guidelines at 
> https://medium.com/gulpjs/gulp-util-ca3b1f
> 9f9ac5
> npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for 
> compatibility with current and future versions of Node.js
> npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or 
> higher to avoid a RegExp DoS issue
> npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals 
> and will break at some point. Do not use it, and update to graceful-fs@4.x.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or 
> higher to avoid a RegExp DoS issue
> npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for 
> compatibility with current and future versions of Node.js
> npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: 
> {"node":"4.2.1","npm":"2.14.7"}) 
> gulp@3.8.11 node_modules/gulp
> ├── pretty-hrtime@0.2.2
> ├── interpret@0.3.10
> ├── deprecated@0.0.1
> ├── archy@1.0.0
> ├── tildify@1.2.0 (os-homedir@1.0.2)
> ├── minimist@1.2.0
> ├── v8flags@2.1.1 (user-home@1.1.1)
> ├── semver@4.3.6
> ├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.5, 
> supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
> ├── orchestrator@0.3.8 (stream-consume@0.1.1, sequencify@0.0.7, 
> end-of-stream@0.1.5)
> ├── gulp-util@3.0.8 (array-differ@1.0.0, beeper@1.1.1, 
> lodash._reescape@3.0.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, 
> object-assign@3.0.0, lodash._reinterpolate@3.0.0,
> replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, vinyl@0.5.3, 
> chalk@1.1.3, gulplog@1.0.0, fancy-log@1.3.3, lodash.template@3.6.2, 
> multipipe@0.1.2, through2@2.0.5)
> ├── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, 
> graceful-fs@3.0.11, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, 
> glob-watcher@0.0.6)
> └── liftoff@2.5.0 (flagged-respawn@1.0.1, rechoir@0.6.2, extend@3.0.2, 
> is-plain-object@2.0.4, object.map@1.0.1, fined@1.2.0, resolve@1.11.1, 
> findup-sync@2.0.0)
> :myriad-scheduler:gulp_build
> [20:04:49] Using gulpfile 
> ~/incubator-myriad/myriad-scheduler/src/main/resources/webapp/gulpfile.js
> [20:04:49] Starting 'clean'...
> [20:04:49] Finished 'clean' after 15 ms
> [20:04:49] Starting 'js'...
> [20:04:49] Finished 'js' after 29 ms
> [20:04:49] Starting 'html'...
> [20:04:49] Starting 'css'...
> [20:04:49] Starting 'img'...
> [20:04:49] Finished 'html' after 46 ms
> [20:04:49] Finished 'css' after 42 ms
> [20:04:50] Finished 'img' after 591 ms
> [20:04:50] Starting 'default'...
> [20:04:50] Finished 'default' after 17 μs
> [20:04:50] Starting 'build'...
> [20:04:50] Finished 'build' after 32 μs
> events.js:141
> throw er; // Unhandled 'error' event
> ^
> ReferenceError: Invalid left-hand side in assignment
> at module.exports 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/syntax-error/index.js:11:52)
> at DestroyableTransform._transform 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/index.js:613:19)
> at DestroyableTransform.Transform._read 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/readable-stream/l
> ib/_stream_transform.js:184:10)
> at DestroyableTransform.Transform._write 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/readable-stream/
> lib/_stream_transform.js:172:12)
> at Labeled.Pipeline._write 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/labeled-stream-splicer/node_mo
> dules/stream-splicer/index.js:73:22)
> at doWrite 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:279:12
> )
> at writeOrBuffer 
> 

[jira] [Resolved] (MYRIAD-296) Build broken by Gulp Error

2019-07-16 Thread Javi Roman (JIRA)


 [ 
https://issues.apache.org/jira/browse/MYRIAD-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javi Roman resolved MYRIAD-296.
---
Resolution: Fixed

[https://github.com/apache/incubator-myriad/commit/a73acb4ad2faecedb8e00bcf05d6c477565cd99b]

> Build broken by Gulp Error
> --
>
> Key: MYRIAD-296
> URL: https://issues.apache.org/jira/browse/MYRIAD-296
> Project: Myriad
>  Issue Type: Bug
>  Components: Scheduler, User Interface
>Affects Versions: Myriad 0.4.0
>Reporter: Javi Roman
>Assignee: Oscar Fernandez
>Priority: Major
>  Labels: build
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> {noformat}
> $ ./gradlew gulp_build
> Parallel execution is an incubating feature.
> :myriad-scheduler:nodeSetup UP-TO-DATE
> :myriad-scheduler:installGulp UP-TO-DATE
> :myriad-scheduler:npmSetup SKIPPED
> :myriad-scheduler:npmInstallnpm WARN deprecated gulp-util@3.0.8: gulp-util is 
> deprecated - replace it, following the guidelines at 
> https://medium.com/gulpjs/gulp-util-ca3b1f
> 9f9ac5
> npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for 
> compatibility with current and future versions of Node.js
> npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or 
> higher to avoid a RegExp DoS issue
> npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals 
> and will break at some point. Do not use it, and update to graceful-fs@4.x.
> npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or 
> higher to avoid a RegExp DoS issue
> npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for 
> compatibility with current and future versions of Node.js
> npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: 
> {"node":"4.2.1","npm":"2.14.7"}) 
> gulp@3.8.11 node_modules/gulp
> ├── pretty-hrtime@0.2.2
> ├── interpret@0.3.10
> ├── deprecated@0.0.1
> ├── archy@1.0.0
> ├── tildify@1.2.0 (os-homedir@1.0.2)
> ├── minimist@1.2.0
> ├── v8flags@2.1.1 (user-home@1.1.1)
> ├── semver@4.3.6
> ├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.5, 
> supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
> ├── orchestrator@0.3.8 (stream-consume@0.1.1, sequencify@0.0.7, 
> end-of-stream@0.1.5)
> ├── gulp-util@3.0.8 (array-differ@1.0.0, beeper@1.1.1, 
> lodash._reescape@3.0.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, 
> object-assign@3.0.0, lodash._reinterpolate@3.0.0,
> replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, vinyl@0.5.3, 
> chalk@1.1.3, gulplog@1.0.0, fancy-log@1.3.3, lodash.template@3.6.2, 
> multipipe@0.1.2, through2@2.0.5)
> ├── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, 
> graceful-fs@3.0.11, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, 
> glob-watcher@0.0.6)
> └── liftoff@2.5.0 (flagged-respawn@1.0.1, rechoir@0.6.2, extend@3.0.2, 
> is-plain-object@2.0.4, object.map@1.0.1, fined@1.2.0, resolve@1.11.1, 
> findup-sync@2.0.0)
> :myriad-scheduler:gulp_build
> [20:04:49] Using gulpfile 
> ~/incubator-myriad/myriad-scheduler/src/main/resources/webapp/gulpfile.js
> [20:04:49] Starting 'clean'...
> [20:04:49] Finished 'clean' after 15 ms
> [20:04:49] Starting 'js'...
> [20:04:49] Finished 'js' after 29 ms
> [20:04:49] Starting 'html'...
> [20:04:49] Starting 'css'...
> [20:04:49] Starting 'img'...
> [20:04:49] Finished 'html' after 46 ms
> [20:04:49] Finished 'css' after 42 ms
> [20:04:50] Finished 'img' after 591 ms
> [20:04:50] Starting 'default'...
> [20:04:50] Finished 'default' after 17 μs
> [20:04:50] Starting 'build'...
> [20:04:50] Finished 'build' after 32 μs
> events.js:141
> throw er; // Unhandled 'error' event
> ^
> ReferenceError: Invalid left-hand side in assignment
> at module.exports 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/syntax-error/index.js:11:52)
> at DestroyableTransform._transform 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/index.js:613:19)
> at DestroyableTransform.Transform._read 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/readable-stream/l
> ib/_stream_transform.js:184:10)
> at DestroyableTransform.Transform._write 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/readable-stream/
> lib/_stream_transform.js:172:12)
> at Labeled.Pipeline._write 
> (/home/vagrant/incubator-myriad/myriad-scheduler/src/main/resources/webapp/node_modules/browserify/node_modules/labeled-stream-splicer/node_mo
> dules/stream-splicer/index.js:73:22)
> at doWrite 
>