Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Fix there are types at 'framework7.d.ts' but this result could not be resolved when respecting package.json #4231

Merged
merged 1 commit into from
Feb 5, 2024

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
3 participants