Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-15760

Fix ncc compiler in nodejs 10.16.2 or compile manually node server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.0
    • Component/s: UI
    • Labels:
      None
    • Rank:
      1|i00qd3:

      Description

      We used to use ncc compier to compile our node js server as a single executable. However once we upgraded nodejs version to 10.16.2 this was completely broken which caused UI to be broken.

      We have temporarily removed ncc compiler to unblock UI usage. We need to be able to fix ncc compiler or manually compile the node server ourselves.

      We now build all static assets to one common directory under the express server and build SDK based off it. This should fix the problem of incorrect static asset paths.

        Attachments

          Activity

            People

            • Assignee:
              ajai Ajai Narayan
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: