Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo Go ERROR Blurhash.encode in 2.0.3 #194

Open
yonac1 opened this issue Jun 28, 2024 · 1 comment
Open

Expo Go ERROR Blurhash.encode in 2.0.3 #194

yonac1 opened this issue Jun 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yonac1
Copy link

yonac1 commented Jun 28, 2024

Bug

Describe the bug
This Code throws error...

import { Blurhash } from "react-native-blurhash";

  const onPressPic = async () => {
    try {
        const newBlurHash = await Blurhash.encode(
          "https://picsum.photos/200/300",
          4,
          3
        );
        console.log(newBlurHash);
      }
    } catch (error) {
      console.log(error);
    }
  };


The error: 
` ERROR  Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'BlurhashModule' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","SourceCode","Timing","AppState","BlobModule","WebSocketModule","SettingsManager","DevSettings","Networking","RedBox","Appearance","DevLoadingView","DeviceInfo","UIManager","ImageLoader","LinkingManager","RNCSafeAreaContext","NativeAnimatedModule","I18nManager","RNCSafeAreaContext","KeyboardObserver","ReanimatedModule","AsyncLocalStorage","RNGestureHandlerModule"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","BugReporting","HeadlessJsTaskSupport","SoundManager","IntentAndroid","NativeReactNativeFeatureFlagsCxx","RNSModule","FrameRateLogger","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","RNCAsyncStorage","AsyncSQLiteDBStorage","BlurhashModule"]}, js engine: hermes `


These are the dependencies...

"expo": "~51.0.4",
"expo-apple-authentication": "~6.4.1",
"expo-av": "~14.0.5",
"expo-blur": "~13.0.2",
"expo-build-properties": "~0.12.1",
"expo-clipboard": "~6.0.3",
"expo-constants": "~16.0.1",
"expo-dev-client": "~4.0.18",
"expo-document-picker": "~12.0.1",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.5",
"expo-haptics": "~13.0.1",
"expo-image": "~1.12.12",
"expo-image-manipulator": "~12.0.4",
"expo-image-picker": "~15.0.4",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-location": "~17.0.1",
"expo-media-library": "~16.0.3",
"expo-notifications": "~0.28.1",
"expo-router": "~3.5.12",
"expo-sharing": "~12.0.1",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo-system-ui": "~3.0.4",
"expo-web-browser": "~13.0.3",
"moti": "^0.29.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.1",
"react-native-actions-sheet": "^0.9.3",
"react-native-blurhash": "^2.0.3",

@yonac1 yonac1 added the bug Something isn't working label Jun 28, 2024
@maintenance-hans maintenance-hans bot changed the title Expo Go Error Expo Go Error Jun 28, 2024
Copy link

maintenance-hans bot commented Jun 28, 2024

Guten Tag, Hans here.

Note

New features, bugfixes, updates and other improvements are all handled mostly by @mrousavy in his free time.
To support @mrousavy, please consider 💖 sponsoring him on GitHub 💖.
Sponsored issues will be prioritized.

@yonac1 yonac1 changed the title Expo Go Error Expo Go ERROR Blurhash.encode Jun 28, 2024
@yonac1 yonac1 changed the title Expo Go ERROR Blurhash.encode Expo Go ERROR Blurhash.encode in 2.0.3 Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant