Skip to content

SIGSEGV Error: yarn command fails with segmentation fault during vtex link #1249

@lucasgroliveira

Description

@lucasgroliveira

Description

When running vtex link, the command fails with a segmentation fault (SIGSEGV) error while attempting to execute yarn. The process terminates unexpectedly during the node modules installation phase.

Environment

  • OS: macOS (darwin 24.5.0)
  • VTEX Toolbelt Version: 4.2.0
  • Node Version: [Please add your Node.js version]

Error Details

The error occurs when trying to run yarn with the following command:
"/opt/homebrew/Cellar/vtex/4.2.0/lib/client/4.2.1/node_modules/yarn/bin/yarn" --non-interactive --ignore-engines

Error message:

11:41:16.778 - error: Failed to run yarn in node
11:41:16.780 - error: Unhandled exception

Full error details:

  • Signal: SIGSEGV (Segmentation Fault)
  • Error ID: cecaf8a7a82a939c7473c171d9d48d7e
  • Process terminated unexpectedly during yarn execution

Steps to Reproduce

  1. Navigate to VTEX project directory
  2. Run vtex link
  3. Observe the segmentation fault error during yarn execution

Expected Behavior

The vtex link command should successfully execute yarn and complete the linking process without any segmentation faults.

Additional Context

This appears to be a critical error as it prevents the basic development workflow using vtex link. The segmentation fault suggests a memory-related issue in the underlying yarn execution.

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