Highlighted
Micro Focus Expert
Micro Focus Expert
179 views

(SP/Propel) Support Tip: Theme customization fails for the manual procedure on Propel 2.20

Error Message

[propel@xxxxxxxxx launchpad]$ gulp dist
[19:44:35] Using gulpfile /opt/hp/propel/launchpad/gulpfile.js
[19:44:35] Starting 'locales.dist'...
[19:44:36] Starting 'assets.dist'...
[19:44:36] Starting 'clean.dist.js'...
[19:44:36] Starting 'clean.dist.styles'...
[19:44:36] Finished 'clean.dist.styles' after 51 ms
[19:44:36] Starting 'styles.dist'...
[19:44:36] 'styles.dist' errored after 244 ms
[19:44:36] TypeError: es.merge is not a function
at Gulp.<anonymous> (/opt/hp/propel/launchpad/node_modules/@propel/gulp-jumpstart-web-packager/gulp/build.js:268:24)
at module.exports (/opt/hp/propel/launchpad/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/opt/hp/propel/launchpad/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/opt/hp/propel/launchpad/node_modules/orchestrator/index.js:214:10)
at /opt/hp/propel/launchpad/node_modules/orchestrator/index.js:279:18
at finish (/opt/hp/propel/launchpad/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/opt/hp/propel/launchpad/node_modules/orchestrator/lib/runTask.js:29:3)
at module.exports (/opt/hp/propel/launchpad/node_modules/each-async/index.js:22:3)
at /opt/hp/propel/launchpad/node_modules/del/index.js:34:3
at /opt/hp/propel/launchpad/node_modules/globby/node_modules/async/lib/async.js:274:13

NOTE: Gulp is a tool that helps you out with several tasks when it comes to web development. It's often used to do front end tasks like:

• Spinning up a web server
• Reloading the browser automatically whenever a file is saved
• Optimizing assets like CSS, JavaScript, and images

Cause
es.merge is not recognized by gulp-jumpstart-web-packager. The dependencies of event-stream is 3.2.1 or higher, but unfortunately OOB, the finally installed event-stream bundle version is 0.5.3, and this version did not implement "merge" function yet.

Fix
Execute the following command to resolve the problem:
npm install event-stream@3.3.1
Following this ensure that the theming process is executed as per the documentation using the propel account and not the root account.

Defect https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM02911142 has been open to address this issue in a future release of the product.

Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.