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

npm start is not working #107

Open scrpgil opened 4 years ago

scrpgil commented 4 years ago

Note: I use Google Translate.

Currently, when you create a new project with npx create-stencil ionic-pwa and npm start, you get an image-like error.

screen

For the time being, installing the latest @ionic/core solves it. npm i @ionic/core@latest

Please update package.json.

sfmskywalker commented 4 years ago

I just ran into this as well. Although installing latest @ionic/core made this particular error go away, I hit another error:

TypeScript: ./node_modules\@stencil\core\dist\declarations\testing.d.ts:108:35
           Cannot find name 'AsyncIterableIterator'

To make that error go away, I had to update tsconfig.json by adding esnext.asynciterable to lib:

...
"lib": [
 ...
  "esnext.asynciterable"
],
...