Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

rust file not found error #171

@jsnoble

Description

@jsnoble

I have some relatively simple test running and its causing a strange error to occur. These tests deal with yargs cli tests and they switch up which tests fail at times, its not always consistent which tests fail but its always the same error. In the mean time I switched this back to ts-jest and everything works

PASS   teraslice-cli  packages/teraslice-cli/test/cmds/assets/init-spec.ts
 PASS   teraslice-cli  packages/teraslice-cli/test/generators/new-asset-spec.ts
thread '<unnamed>' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.0/src/config/mod.rs:826:31:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0:     0x7f34d6f5f0cc - <unknown>
   1:     0x7f34d6f90210 - <unknown>
   2:     0x7f34d6f5c05f - <unknown>
   3:     0x7f34d6f5eeb4 - <unknown>
   4:     0x7f34d6f606d7 - <unknown>
   5:     0x7f34d6f6043f - <unknown>
   6:     0x7f34d6f60b58 - <unknown>
   7:     0x7f34d6f60a3e - <unknown>
   8:     0x7f34d6f5f596 - <unknown>
   9:     0x7f34d6f607a2 - <unknown>
  10:     0x7f34d52eb0a5 - <unknown>
  11:     0x7f34d52eb5e3 - <unknown>
  12:     0x7f34d5908041 - <unknown>
  13:     0x7f34d546f6b0 - <unknown>
  14:     0x7f34d5463515 - <unknown>
  15:     0x7f34d541769a - <unknown>
  16:           0xc408d9 - _ZN6v8impl12_GLOBAL__N_123FunctionCallbackWrapper6InvokeERKN2v820FunctionCallbackInfoINS2_5ValueEEE
  17:           0xf328df - _ZN2v88internal25FunctionCallbackArguments4CallENS0_15CallHandlerInfoE
  18:           0xf3314d - _ZN2v88internal12_GLOBAL__N_119HandleApiCallHelperILb0EEENS0_11MaybeHandleINS0_6ObjectEEEPNS0_7IsolateENS0_6HandleINS0_10HeapObjectEEENS8_INS0_20FunctionTemplateInfoEEENS8_IS4_EEPmi
  19:           0xf33615 - _ZN2v88internal21Builtin_HandleApiCallEiPmPNS0_7IsolateE
  20:          0x193cdf6 - Builtins_CEntry_Return1_ArgvOnStack_BuiltinExit
fatal runtime error: failed to initiate panic, error 5
 FAIL   teraslice-cli  packages/teraslice-cli/test/helpers/config-spec.ts
  ● Test suite failed to run

    A jest worker process (pid=2780) was terminated by another process: signal=SIGABRT, exitCode=null. Operating system logs may contain more information on why this occurred.

      at ChildProcessWorker._onExit (node_modules/jest-worker/build/workers/ChildProcessWorker.js:370:23)


how does this error come about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions