Skip to content

Next.js 11 Support #8

@blaizze

Description

@blaizze

Since Next.js guys have removed Head.rewind() from version 11, now code throws an error:

TypeError: _head.default.rewind is not a function
    at _callee$ (/Projects/project-name/node_modules/next-contentful/withContentful.js:129:36)
    at tryCatch (/Projects/project-name/node_modules/regenerator-runtime/runtime.js:63:40)
    at Generator.invoke [as _invoke] (/Projects/project-name/node_modules/regenerator-runtime/runtime.js:293:22)
    at Generator.throw (/Projects/project-name/node_modules/regenerator-runtime/runtime.js:118:21)
    at asyncGeneratorStep (/Projects/project-name/node_modules/next-contentful/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _throw (/Projects/project-name/next-contentful/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions