Open peanutrhs opened 2 years ago
I am receiving the following error when attempting to npm start from showcase folder.
ERROR in ./src/components/Canvas/index.tsx 2:0-43 Module not found: Error: Can't resolve 'react-sketch' in 'D:\Computer Science\Capstone\React-Sketch\react-sketch\packages\showcase\src\components\Canvas' @ ./src/components/index.ts 3:0-40 3:0-40 @ ./src/App.tsx 6:0-65 20:36-42 22:36-48 24:36-47 @ ./src/index.tsx 1:0-28 14:31-34
ERROR in [at-loader] ./src/stores/config.ts:1:23 TS2307: Cannot find module 'react-sketch' or its corresponding type declarations.
ERROR in [at-loader] ./src/components/Canvas/index.tsx:2:36 TS2307: Cannot find module 'react-sketch' or its corresponding type declarations.
1 error has detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.69.1 compiled with 3 errors in 2596 ms i 「wdm」: Failed to compile.
if you want to run demo, cd to packages/showcase and yarn start
Were you able to resolve this? @peanutrhs
I am receiving the following error when attempting to npm start from showcase folder.
ERROR in ./src/components/Canvas/index.tsx 2:0-43 Module not found: Error: Can't resolve 'react-sketch' in 'D:\Computer Science\Capstone\React-Sketch\react-sketch\packages\showcase\src\components\Canvas' @ ./src/components/index.ts 3:0-40 3:0-40 @ ./src/App.tsx 6:0-65 20:36-42 22:36-48 24:36-47 @ ./src/index.tsx 1:0-28 14:31-34
ERROR in [at-loader] ./src/stores/config.ts:1:23 TS2307: Cannot find module 'react-sketch' or its corresponding type declarations.
ERROR in [at-loader] ./src/components/Canvas/index.tsx:2:36 TS2307: Cannot find module 'react-sketch' or its corresponding type declarations.
1 error has detailed information that is not shown. Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.69.1 compiled with 3 errors in 2596 ms i 「wdm」: Failed to compile.