wix / react-native-ui-lib

UI Components Library for React Native
https://wix.github.io/react-native-ui-lib/
MIT License
6.53k stars 712 forks source link

Error at build time. Status code 2. #2348

Closed The-White-Fang closed 1 year ago

The-White-Fang commented 1 year ago

Description

I was trying to build the library on my machine using the command npm run build but it failed with the following error. I also tried running npm run build:local which also failed with the same error.

Error: Command failed: tsc --p tsconfig.build.json
    at checkExecSyncError (node:child_process:861:11)
    at Object.execSync (node:child_process:932:15)
    at Object.<anonymous> (/home/abhishek/react-native-ui-lib/scripts/build.js:10:14)
    at Module._compile (node:internal/modules/cjs/loader:1155:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
    at Module.load (node:internal/modules/cjs/loader:1033:32)
    at Function.Module._load (node:internal/modules/cjs/loader:868:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  status: 2,
  signal: null,
  output: [
    null,
    Buffer(292) [Uint8Array] [
      115, 114,  99,  47,  99, 111, 109, 112, 111, 110, 101, 110,
      116, 115,  47, 115, 108, 105, 100, 101, 114,  47,  95,  95,
      116, 101, 115, 116, 115,  95,  95,  47, 105, 110, 100, 101,
      120,  46, 115, 112, 101,  99,  46, 116, 115, 120,  40,  52,
       44,  50,  56,  41,  58,  32, 101, 114, 114, 111, 114,  32,
       84,  83,  50,  51,  48,  55,  58,  32,  67,  97, 110, 110,
      111, 116,  32, 102, 105, 110, 100,  32, 109, 111, 100, 117,
      108, 101,  32,  39,  46,  46,  47,  83, 108, 105, 100, 101,
      114,  46, 100, 114,
      ... 192 more items
    ],
    Buffer(0) [Uint8Array] []
  ],
  pid: 4530,
  stdout: Buffer(292) [Uint8Array] [
    115, 114,  99,  47,  99, 111, 109, 112, 111, 110, 101, 110,
    116, 115,  47, 115, 108, 105, 100, 101, 114,  47,  95,  95,
    116, 101, 115, 116, 115,  95,  95,  47, 105, 110, 100, 101,
    120,  46, 115, 112, 101,  99,  46, 116, 115, 120,  40,  52,
     44,  50,  56,  41,  58,  32, 101, 114, 114, 111, 114,  32,
     84,  83,  50,  51,  48,  55,  58,  32,  67,  97, 110, 110,
    111, 116,  32, 102, 105, 110, 100,  32, 109, 111, 100, 117,
    108, 101,  32,  39,  46,  46,  47,  83, 108, 105, 100, 101,
    114,  46, 100, 114,
    ... 192 more items
  ],
  stderr: Buffer(0) [Uint8Array] []
}

Related to

Steps to reproduce

Expected behavior

To project to build without errors

Actual behavior

Getting errors

Environment

Affected platforms

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.