ionic-team/ionic-pwa-toolkit

@ionic/core/... Type 'keyof B' does not satisfy the constraint 'string'. Type 'string | number | symbol' is not assignable to type 'string'. Type 'number' is not assignable to type 'string'.

peterennis opened this issue · 5 comments

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

@stencil/core v0.9.7

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior:
Build fail

capture321

Expected behavior:
Starter works

Steps to reproduce:

Other information:

C:\ae\adaept.com\aepwa>ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.
cli packages: (C:\Users\peter\AppData\Roaming\npm\node_modules)

   @ionic/cli-utils  : 2.0.0-rc.6
   ionic (Ionic CLI) : 4.0.0-rc.6

System:

   NodeJS : v8.11.1
   npm    : 6.1.0-next.0
   OS     : Windows 10

C:\ae\adaept.com\aepwa>

I ran npm audit fix and it reported corrected 4 security errors.

Repo:
https://github.com/peterennis/aepwa

Duplicate of #68

Fix: @ionic/core#15dc651

Not fixed in @ionic/core@4.0.0-alpha.7 - maybe in the next release.

capture015

Not fixed in @ionic/core@4.0.0-alpha.7.

Yes - the upcoming release has the fix. For the time being you can replace <keyof B> with <any> in node_modules/@ionic/core/dist/types/utils/overlays.d.ts

This is fixed as of alpha.10. Thanks