profile
viewpoint

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.

Screenshot_2019-07-03-11-39-11

terrylinla/react-native-sketch-canvas

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

useful!

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