ionic-pwa-toolkit icon indicating copy to clipboard operation
ionic-pwa-toolkit copied to clipboard

npm start is not working

Open scrpgil opened this issue 4 years ago • 1 comments

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.

scrpgil avatar Aug 26 '19 17:08 scrpgil

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"
],
...

sfmskywalker avatar Aug 29 '19 19:08 sfmskywalker