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

Windows: 'RNSVGSvgViewModule' could not be found #2370

Open
k1mmm opened this issue Jul 28, 2024 · 3 comments
Open

Windows: 'RNSVGSvgViewModule' could not be found #2370

k1mmm opened this issue Jul 28, 2024 · 3 comments

Comments

@k1mmm
Copy link

k1mmm commented Jul 28, 2024

Description

Calling toDataURL() results in error on Windows

Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNSVGSvgViewModule' 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","Timing","AppState","SourceCode","BlobModule","WebSocketModule","DevSettings","Networking","UIManager","DeviceInfo","ImageLoader","LinkingManager","Appearance","NativeAnimatedModule","RNCAsyncStorage","RNCClipboard","FileReaderModule"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","DevToolsSettingsManager","RedBox","BugReporting","HeadlessJsTaskSupport","DeviceEventManager","SoundManager","IntentAndroid","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","FrameRateLogger","KeyboardObserver","RNSVGSvgViewModule"]}

Steps to reproduce

Set up a ref to element and call .toDataURL()

Snack or a link to a repository

https://github.com/k1mmm/react-native-svg-to-data-url

SVG version

15.4.0

React Native version

0.74.3

Platforms

Android, iOS, macOS, Web

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

Real device

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Jul 28, 2024
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@k1mmm
Copy link
Author

k1mmm commented Jul 29, 2024

Here's a link to a minimal reproduction repo =)
https://github.com/k1mmm/react-native-svg-to-data-url

@bohdanprog bohdanprog added Repro provided and removed Missing repro This issue need minimum repro scenario labels Jul 30, 2024
@bohdanprog
Copy link
Member

CC @marlenecota

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants