Skip to content

Conversation

anisjonischkeit
Copy link
Contributor

Fixes #4181

I'm importing framework7 in an astro project (vite) and I get the same error as in the above issue.

There are types at 'Documents/my-project/node_modules/framework7/framework7.d.ts', but this result could not be resolved when respecting package.json "exports". The 'framework7' library may need to update its package.json or typings.

The above seems to fix it. I know very little about this project so if this isn't the right approach (or it causes other issues) feel free to close.

Using:
node 18
Typescript 5

@anisjonischkeit anisjonischkeit changed the title Fix missing types Bugfix: Fix there are types at 'framework7.d.ts' but this result could not be resolved when respecting package.json Nov 15, 2023
@peitschie
Copy link
Contributor

Just confirming, this has fixed the issue for me as well using VueJS 🙂

@nolimits4web nolimits4web merged commit 734ab0a into framework7io:master Feb 5, 2024
@nolimits4web
Copy link
Member

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There are types at node_modules/framework7/framework7.d.ts but this cannot be resolved when respecting package.json "exports"
3 participants