Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot find module 'react-sketch' or its corresponding type declarations #163

Open
peanutrhs opened this issue Feb 18, 2022 · 2 comments
Open

Comments

@peanutrhs
Copy link

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.

@huy-lv
Copy link

huy-lv commented Aug 9, 2022

if you want to run demo, cd to packages/showcase and yarn start

@TimAnthonyAlexander
Copy link

Were you able to resolve this? @peanutrhs

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants