-
Notifications
You must be signed in to change notification settings - Fork 7
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
No dataset.ndjson being created #123
Comments
I'm also experiencing the same issue |
Just having another look at this and I've found that if I run
It seems that there is no support for transforming tables in rich text content. It would seem logical that an option should be provided to skip over instances like these? |
Have the same issue. Is there any updates how to solve it? |
@alex-mbp Had that same issue as well. Were you able to bypass this? |
I didn't pursue it any further but imagine that the possible solutions include removing table nodes from the Contentful export if they aren't critical, or creating a transformer for the node type. |
Have the same issue today, is there any solution for this? |
Mine does'nt even generate the schemas ts file |
@essejmclean how did you resolve this issue? |
@mealCode I checked @alex-mbp's issue and confirmed it was the case. I bypassed it by modifying the package that runs it. Please note that this is not a fix and you wont have any data for your tables in portable texts. But you'll be able to create your To fix:
You can manually clean your data afterwards. |
thank you @nardomarquez for swift response. It's awesome that you figured out on how to generate the |
@mealCode All data will still be migrated to your In my case, I really don't have tables on my rich text contents so bypassing it is enough. |
Thank you for the help. <3 Unfortunately every content we have in contentful uses rich text. We might go with another cms provider like payload. I also wrote a json-to-ndjson-converter simple node api but it doesn't help i'll post it here as it might help others.
Thank again <3 |
Hi, I am attempting to use this to move a project from Contentful to Sanity and unfortunately running into an issue.
I have created a clean Sanity project and then run
npx contentful-to-sanity@latest -s <space-id> -t <management-token> -a <access-token> ./migrate
with my proper Space ID, Management Token, and API Key.Everything runs fine by the looks of it, though maybe only up to a point, because my
./migrate
directory only contains:contentful.json
contentful.published.json
schema.ts
As far as I understand it should also include a
dataset.ndjson
andsanity.config.ts
.Here is what my terminal logs:
Help on this would be amazing as we are trying to move a client over from Contentful to Sanity (we ♥ Sanity).
p.s. I also came across what I think may be a separate and unrelated issue in the
schema.ts
wherecontentful_imageType
is added to thetypes
object ascontentfulImageType
.The text was updated successfully, but these errors were encountered: