-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
I installed fabric js lib in the provided example and this is giving following error.
error: WebApp/index.js: Unable to resolve module fabricjs-react from ...myProject/WebApp/index.js: fabricjs-react could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:
- Clear watchman watches: watchman watch-del-all
- Delete node_modules and run yarn install
- Reset Metro's cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*
12 | // import DesignCanvas from "./DesignCanvas";
13 | import Rect from "./Rect";
14 | import { FabricJSCanvas, useFabricJSEditor } from "fabricjs-react";
| ^
15 | const style = {
16 | width: "100vw",
17 | height: "100vh",
I checked fabric js js installed and is in node_modules folder.
----Please help.
Metadata
Metadata
Assignees
Labels
No labels