message: fix(node-swc): Recover from `ldd` not found
diff: @@ -5,9 +5,19 @@ const { platform, arch } = process
  let nativeBinding = null
  let localFileExisted = false
  -let isMusl = false
  let loadError = null
  +const isMusl = () => {
  + try {
  + const isMusl = readFileSync('/usr/bin/ldd', 'utf8').includes('musl')
  +
  + return isMusl;
  + } catch(e) {
  + return false;
  + }
  +}
  +
  +
  switch (platform) {
  case 'android':
  if (arch !== 'arm64') {
  @@ -122,8 +132,7 @@ switch (platform) {
  case 'linux':
  switch (arch) {
  case 'x64':
  - isMusl = readFileSync('/usr/bin/ldd', 'utf8').includes('musl')
  - if (isMusl) {
  + if (isMusl()) {
  localFileExisted = existsSync(
  join(__dirname, 'swc.linux-x64-musl.node')
  )
  @@ -152,8 +161,7 @@ switch (platform) {
  }
  break
  case 'arm64':
  - isMusl = readFileSync('/usr/bin/ldd', 'utf8').includes('musl')
  - if (isMusl) {
  + if (isMusl()) {
  localFileExisted = existsSync(
  join(__dirname, 'swc.linux-arm64-musl.node')
  )
  