Cannot find module 'stencil-component-library' or its corresponding type declarations.
AlexDemetriou opened this issue · 0 comments
AlexDemetriou commented
I have followed the instructions completely and am getting the above error.
This occurs on the line import type { JSX } from 'stencil-component-library';
in my react-component-library/src/components/stencil-generated/index.ts
my project consists of the following structure:
react-and-stencil (top-level folder)
-react-app (generated via npx create-react-app
, currently not used)
-react-component-library (cloned from this repo)
-stencil-component-library (generated component library via npm init stencil
)
Any suggestions would be very much appreciated.
Thanks, Alex