1

At Big Give we have a library of web components built using stencil and build-angular.

Last week we were trying to upgrade from stencil v2 to stencil v3, but we started getting errors as shown below when trying to generate a build to publish for use in angular:

117 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> angular@0.0.0 build
> ng build

Building Angular Package

------------------------------------------------------------------------------
Building entry point '@biggive/components-angular'
------------------------------------------------------------------------------
- Compiling with Angular sources in Ivy partial compilation mode.
✖ Compiling with Angular sources in Ivy partial compilation mode.
projects/components/src/lib/stencil-generated/components.ts:7:15 - error TS2305: Module '"@biggive/components/dist/components"' has no exported member 'Components'.

7 import type { Components } from '@biggive/components/dist/components';
                ~~~~~~~~~~


Exited with code exit status 1

I have since found that this error can happen on the v2 version of stencil as well as the v3, so I don't know why we're only now starting to see it.

Our code is public, errors can be seen in CircleCI:

bdsl
  • 288
  • 2
  • 9
  • I'm receiving the same issue as I'm setting up a PoC for Stencil, building to Angular/React/Vue. The generated code from Stencil is including this 'Components' import, and I cannot figure out why or how its wrong. Any updates? – AndrewF Sep 01 '23 at 14:04
  • @AndrewF Sorry, I haven't found an answer yet. – bdsl Sep 01 '23 at 14:18

0 Answers0