ionic-pwa-toolkit
ionic-pwa-toolkit copied to clipboard
npm start is not working
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.
For the time being, installing the latest @ionic/core
solves it.
npm i @ionic/core@latest
Please update package.json.
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"
],
...