ionic-team / ionic-pwa-toolkit

Build lightning fast Progressive Web Apps with zero config and best practices built-in. Go from zero to production ready with Ionic and Stencil (Web Components).
MIT License
633 stars 74 forks source link

Error on npm run start.sw - processAppGraph, unable to find tag: ion-icon at addDeps #81

Closed acoreyj closed 5 years ago

acoreyj commented 5 years ago

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

@stencil/core@0.10.9

I'm submitting a ... (check one with "x") [x] bug report

Current behavior: running npm run start.sw generates the error

[ ERROR ] processAppGraph, unable to find tag: ion-icon at addDeps (node_modules/@stencil/core/dist/compiler/index.js:16723:19) at Array.forEach (native) at addDeps (node_modules/@stencil/core/dist/compiler/index.js:16731:22) at Array.forEach (native) at addDeps (node_modules/@stencil/core/dist/compiler/index.js:16731:22) at Array.forEach (native) at getGraph (node_modules/@stencil/core/dist/compiler/index.js:16733:15) at processAppGraph (node_modules/@stencil/core/dist/compiler/index.js:16601:19) at processAppComponentEntryTags (node_modules/@stencil/core/dist/compiler/index.js:16762:12) at generateComponentEntries (node_modules/@stencil/core/dist/compiler/index.js:16748:24)

The service worker doesn't seem to work in the resulting app

Expected behavior: no errors running npm run start.sw

Steps to reproduce:

run npm run start.sw

Other information:

tried on node v9.11.2, v8.7.0 and v6.11.5