Ask questionsInvariant Violation: requireNativeComponent: "RNSketchCanvas" was not found in the UIManager

I simply have a minimal example of the first code block listed on the repo's NPM page.

I have installed and linked properly. I cannot seem to get around this error.

I am using Expo CLI, if that is relevant.



Answer questions theCaptain420

watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache This made it work for me. or this if you use npm: watchman watch-del-all && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache


Related questions

Feature Request: Set background image from URL on canvas. - react-native-sketch-canvas hot 1
undefined is not an object (evaluating '_reactNative.UIManager.RNSketchCanvas.Constants') hot 1
Cant get localSourceImage to load image from camera or gallery hot 1
UIManager['RNSketchCanvas'] is no longer supported hot 1
Feature Request: add the complete output of `sketchCanvas.getPaths()` to the canvas at once hot 1
Github User Rank List