Skip to content

[Bug] Vite pre-transform error: Failed to resolve @/composable/translations in packages/renderer/src/utils/sync.js #406

@bigshans

Description

@bigshans

Bug Description
Commit 583f68e contains significant changes that broke the translation imports. Specifically, packages/renderer/src/utils/sync.js still attempts to import from @/composable/translations, but this path or file was moved/removed in the recent update.

To Reproduce
Steps to reproduce the behavior:

  1. Fetch and checkout the development branch at or after commit 583f68e.
  2. Run yarn install.
  3. Run yarn run watch.
  4. Vite throws a "Pre-transform error" because it cannot resolve the import in sync.js.

Expected Behavior
The development server should compile successfully. All files, including sync.js, should reflect the new project structure and import translations from the correct new location.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Arch Linux
  • Application Version: development branch

Additional Context
None.

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