GithubHelp home page GithubHelp logo

Comments (6)

FreiBj avatar FreiBj commented on September 28, 2024 1

@opr-inzn Fixed by installing @portabletext/[email protected]

yarn add @portabletext/[email protected]

from react-portabletext.

bsmithbeverley avatar bsmithbeverley commented on September 28, 2024 1

Looks like 3.0.11 has been released to roll things back, installing the latest version should work again now.

from react-portabletext.

FreiBj avatar FreiBj commented on September 28, 2024

Got the same error

from react-portabletext.

opr-inzn avatar opr-inzn commented on September 28, 2024

@FreiBj works! thanks for sharing!

from react-portabletext.

AlbertSabate avatar AlbertSabate commented on September 28, 2024

I have the same problem after upgrading to version 3.0.10. After researching, I found the issue comes from the bump in @portabletext/types.
There is a breaking change on the library "sanity-io/pkg-utils" https://github.com/sanity-io/pkg-utils/blob/main/CHANGELOG.md, and it seems like it is breaking this library as a side effect.

I hope we find a better solution soon than downgrading to 3.0.9. Also, out of curiosity, how can a major version be propagated as a minor version if there are breaking changes?

from react-portabletext.

stipsan avatar stipsan commented on September 28, 2024

Fixed by #113 in v3.0.11 as previously mentioned πŸ™Œ We had a faulty setting in our tsconfig.json that have always been ignored, until we updated to the latest versions of rollup and esbuild πŸ˜…

from react-portabletext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.