Skip to content

Unhandled exception when trying to run vtex link #1241

@ristokekovic

Description

@ristokekovic

Hello

We are experiencing an issue when trying to run a link command in our local development workspace. Here is what we get in our CLI:

vtex link
12:16:10.526 - warn: Changing typescript on devDependencies from 5.5.3 to 3.9.7
12:16:10.527 - warn: Changing @types/node on devDependencies from 20.x to ^12.0.0
12:16:10.528 - info: Running yarn in node
yarn install v1.22.10
warning package.json: No license field
warning No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.3: The platform "linux" is incompatible with this module.
info "fsevents@2.3.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @vtex/test-tools@3.4.3" has unmet peer dependency "@apollo/react-testing@^3.1.3".
warning " > @vtex/test-tools@3.4.3" has unmet peer dependency "react-intl@^3.9.2".
warning "@vtex/test-tools > react-apollo > @apollo/react-common@3.1.4" has unmet peer dependency "apollo-utilities@^1.3.2".
warning "@vtex/test-tools > react-apollo > @apollo/react-components@3.1.5" has unmet peer dependency "apollo-cache@^1.3.2".
warning "@vtex/test-tools > react-apollo > @apollo/react-components@3.1.5" has unmet peer dependency "apollo-link@^1.2.12".
warning "@vtex/test-tools > react-apollo > @apollo/react-components@3.1.5" has unmet peer dependency "apollo-utilities@^1.3.2".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 13.15s.
12:16:23.863 - info: Finished running yarn
12:16:23.864 - info: Linking app worldlinepartnerglobal.worldline-direct-vtex@33.0.0
12:16:23.960 - info: Sending 24 files
12:16:23.961 - info: Link ID: be003d7c80881abd
12:16:23.962 - info: Project size: 0.51MB
12:16:23.962 - info: Compressing project files...
12:16:24.012 - info: Compressed project size: 0.22MB
12:16:25.707 - info: Sending files: 100% - 0.22MB/0.22MB
12:16:25.789 - info: Build accepted for worldlinepartnerglobal.worldline-direct-vtex@33.0.0 at worldlinepartnerglobal/asb vtex.builder-hub@0.306.1
12:16:25.791 - error: Unhandled exception
12:16:25.792 - error: Please report the issue in https://github.com/vtex/toolbelt/issues
12:16:25.793 - error: ErrorID: 30f8aaeff97da83ec5cd23542bd63d3e

When we try to add a flag --no-watch to this command, it does work, but we are unable to then sync our changes to the workspace, which what we need in order to develop a custom VTEX payment provider.

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