I was working with Angular CLI and I created web components with Stencil. I linked this repo with npm link.
I was getting this error because I didn't build the project with components. npm run build fixed this issue for me.
npm run build