Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-3744

CCSDK CDS : Fixing cds-ui build Issues


    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • cds
    • None

      cds-ui is failing to build due to below error:

      [INFO] node_modules/@types/mime/Mime.d.ts(1,13): error TS1005: '=' expected.
      [INFO] node_modules/@types/mime/Mime.d.ts(1,30): error TS1005: ';' expected.
      [INFO] npm ERR! code ELIFECYCLE
      [INFO] npm ERR! errno 2
      [INFO] npm ERR! cds-ui-server@1.0.0 build: `npm run copy:proto && lb-tsc es2017 --copy-resources --outDir dist`
      [INFO] npm ERR! Exit status 2
      [INFO] npm ERR! 
      [INFO] npm ERR! Failed at the cds-ui-server@1.0.0 build script.
      [INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      [INFO] npm ERR! A complete log of this run can be found in:
      [INFO] npm ERR!     /home/jenkins/.npm/_logs/2022-08-10T00_59_02_916Z-debug.log

            djtimoney Dan Timoney
            ks220y KAPIL SINGAL
            0 Vote for this issue
            1 Start watching this issue