[MGNLFE-393] Run frontend-helper with the latest LTS node Created: 09/Jan/23  Updated: 11/Jul/23  Resolved: 21/Mar/23

Status: Closed
Project: Magnolia Frontend Helpers
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4

Type: Improvement Priority: Neutral
Reporter: Phong Le Quoc Assignee: Phong Le Quoc
Resolution: Done Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 8.5d Time Spent: 8.5d
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
depends upon MGNLFE-434 Upgrade angular-sample to use Angular 13 Closed
depends upon MGNLFE-435 Upgrade react-script to the latest ve... Closed
is depended upon by MGNLFE-436 Remove workaroud for missing process ... Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFE-429 Implement Sub-task Completed Phong Le Quoc  
MGNLFE-430 Review Sub-task Completed Canh Nguyen  
MGNLFE-431 PiQA Sub-task Completed Canh Nguyen  
MGNLFE-432 QA Sub-task Completed Canh Nguyen  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: SPA Editor Backlog
Sprint: DevX 33
Story Points: 5
Team: DeveloperX
Work Started:

 Description   

The frontend-helper should be built on the latest LTS node js - currently 18.13.0. Currently, it shows

npm run build> build
> lerna run buildlerna notice cli v6.4.0    ✔  @magnolia/template-annotations:build (13s)
    ✔  @magnolia/vue-editor:build (2s)
    ✔  vue-sample:build (3s)    ✖  @magnolia/angular-editor:build
       > @magnolia/angular-editor@1.3.1 build
       > ng build       Building Angular Package       ------------------------------------------------------------------------------
       Building entry point '@magnolia/angular-editor'
       ------------------------------------------------------------------------------
       - Compiling TypeScript sources through NGC
       ✔ Compiling TypeScript sources through NGC
       - Bundling to FESM2015
       ✔ Bundling to FESM2015
       - Bundling to UMD
       ✔ Bundling to UMD
       - Minifying UMD bundle
       ✖ Minifying UMD bundle
       ERROR: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
       An unhandled exception occurred: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer
       See "/private/var/folders/xd/hbq3_h0n1q3dpgw5mnsrshph0000gn/T/ng-llvKi0/angular-errors.log" for further details.    ✔  @magnolia/react-editor:build (6s) —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— >  Lerna (powered by Nx)   Ran target build for 7 projects (19s)    ✔    4/5 succeeded [0 read from cache]    ✖    1/5 targets failed, including the following:
         - @magnolia/angular-editor:build
 


 Comments   
Comment by Canh Nguyen [ 11/Jan/23 ]

We should update jenkins to use the lasted LTS NodeJS, and all SPA E2E tests should be verified as well.

Generated at Mon Feb 12 05:46:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.