Skip to content

Entry not found in Contentful #2406

@angelodias-appno

Description

@angelodias-appno

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions