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

import {PortableText} from '@portabletext/svelte' not found #72

Open
almaraz333 opened this issue Oct 31, 2023 · 1 comment
Open

import {PortableText} from '@portabletext/svelte' not found #72

almaraz333 opened this issue Oct 31, 2023 · 1 comment
Labels

Comments

@almaraz333
Copy link

Hello,

When I run my app locally it runs perfectly fine. But when I build my app I get an error from the import import {PortableText} from '@portabletext/svelte'.

When I hover over this import error in my IDE I get "Cannot find module '@portabletext/svelte' or it's corresponding type declerations".

Has anyone else faced this issues and is there a fix for it?

Thank you!

@geball
Copy link
Member

geball commented Nov 8, 2023

I haven't been able to reproduce. Is the error happening during the build process or when you try to open the built app? If the latter, where are you running the app and are you on the same version of node as you were in dev?

@stipsan stipsan added the triaged label Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants