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

Entry not found in Contentful #2406

Open
angelodias-appno opened this issue Dec 19, 2024 · 0 comments
Open

Entry not found in Contentful #2406

angelodias-appno opened this issue Dec 19, 2024 · 0 comments

Comments

@angelodias-appno
Copy link

angelodias-appno commented Dec 19, 2024

This is Typescript typing issue.

Expected Behavior

"contentful": "11.3.3",
import { Entry , EntrySkeletonType } from "contentful";

This should give me zero errors.

Actual Behavior

import { Entry , EntrySkeletonType } from "contentful"; // <-- Entry not found in 'contentful'

(or EntrySkeletonType not found in 'contentful')

Possible Solution

I bet it's something related to Contentful version. When I roll back to 10.12.6 the error vanishes

Steps to Reproduce

  1. Install 10.12.6
  2. Add in a .ts file the line import { Entry, EntrySkeletonType } from "contentful";
  3. Don't see the error
  4. 'Upgrade to latest (11.3.3)
  5. See the error

Context

I'm building the types for my project and this is getting in the way :(

Environment

  • Language Version: v18.19.0
  • Package Manager Version: pnpm 9.15.0
  • Operating System: Darwin 9494.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 arm64
  • Package Version: 11.3.3
  • Which API are you using?: Contentful main package and Management
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

No branches or pull requests

1 participant