Cannot read property 'ExpoImageManipulator' of undefined

I want to compress image using expo-image-manipulator . I followed documentation. Everything seems fine but i get “Cannot read property ‘ExpoImageManipulator’ of undefined”. How can i solve it?

Codes are below:

import { manipulateAsync } from “expo-image-manipulator”;

const manipResult = async (imageUri) =>
await manipulateAsync(
[{ resize: { width: 640, height: 480 } }],

I downgraded version of expo-image-manipulator . Now it works.

If you install it as follows:

expo install expo-image-manipulator

then it should install the correct version.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.