Skip to content

TypeError: Cannot convert undefined or null to object #84

@jmorey28

Description

@jmorey28

I am using withImages as documented in the Expo documentation but am getting TypeError: Cannot convert undefined or null to object.

Here is the link to the documentation https://docs.expo.dev/guides/using-nextjs/#image-support

And here is the implementation:

const { withExpo } = require("@expo/next-adapter");
const withImages = require("next-images");

module.exports = withExpo(
  withImages({
    projectRoot: __dirname,
  })
);

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