Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2637

Failed to install core-js on OptaWeb Employee rostering on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 7.7.0.GA
    • 7.6.0.GA
    • OptaPlanner
    • None
    • w2k16, openjdk8, jdk1.8

    • CR2
    • CR1

    Description

      [INFO] [INFO] > node scripts/postinstall || echo "ignore"
      [INFO] [INFO] 
      [INFO] [WARNING] npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
      [INFO] [WARNING] npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself.
      [INFO] [WARNING] npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint@^4.19.1 || ^5.3.0 but none is installed. You must install peer dependencies yourself.
      [INFO] [WARNING] npm WARN eslint-config-airbnb-base@13.2.0 requires a peer of eslint@^4.19.1 || ^5.3.0 but none is installed. You must install peer dependencies yourself.
      [INFO] [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\jest-haste-map\node_modules\fsevents):
      [INFO] [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
      [INFO] [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modules\fsevents):
      [INFO] [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
      [INFO] [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\chokidar\node_modules\fsevents):
      [INFO] [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
      [INFO] [ERROR] 
      [INFO] [ERROR] npm ERR! file C:\windows\system32\cmd.exe
      [INFO] [ERROR] npm ERR! path C:\windows\system32\cmd.exe
      [INFO] [ERROR] npm ERR! code ELIFECYCLE
      [INFO] [ERROR] npm ERR! errno ENOENT
      [INFO] [ERROR] npm ERR! syscall spawn C:\windows\system32\cmd.exe
      [INFO] [ERROR] npm ERR! core-js@3.1.4 postinstall: `node scripts/postinstall || echo "ignore"`
      [INFO] [ERROR] npm ERR! spawn C:\windows\system32\cmd.exe ENOENT
      [INFO] [ERROR] npm ERR! 
      [INFO] [ERROR] npm ERR! Failed at the core-js@3.1.4 postinstall script.
      [INFO] [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      [INFO] [ERROR] 
      [INFO] [ERROR] npm ERR! A complete log of this run can be found in:
      [INFO] [ERROR] npm ERR!     C:\Users\hudson.BXMS-PACKER-WIN\AppData\Roaming\npm-cache\_logs\2020-01-10T11_06_15_820Z-debug.log
      

      This issue has been encountered only while using openjdk8 and jdk1.8. There has been a different error message thrown for jdk11, which can be found here: <Jira link to be added>

      Full stack trace in the attachments.

      Attachments

        Activity

          People

            cchianel Christopher Chianelli
            mtomco Michal Tomčo (Inactive)
            Radovan Synek Radovan Synek
            Radovan Synek Radovan Synek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: