Description
Describe the bug
The cube client are not pointing to an existing file in the "main" field of package.json. Resulting in a import error "Error: Failed to resolve entry for package "@cubejs-client/vue3". The package may have incorrect main/module/exports specified in its package.json."
To Reproduce
- Install the 1.3.16 cube client for Vue 3
- Setup a vite project with vitest
- When running tests the error occurs
Expected behavior
The configuration of the client should be good and not generating errors.
Screenshots
Error generated due to bad configuration (in Vite):
In the new 1.3.16 version (not working):
https://www.npmjs.com/package/@cubejs-client/vue3/v/1.3.16?activeTab=code
In the old 1.3.15 verrsion (working):
https://www.npmjs.com/package/@cubejs-client/vue3/v/1.3.15?activeTab=code
Version:
1.3.16
Additional context
This new error is caused by the refactor of the cube core client to TS #9562