Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

npm start is not working #107

Open
scrpgil opened this issue Aug 26, 2019 · 1 comment · May be fixed by #108
Open

npm start is not working #107

scrpgil opened this issue Aug 26, 2019 · 1 comment · May be fixed by #108

Comments

@scrpgil
Copy link

scrpgil commented Aug 26, 2019

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
Copy link

sfmskywalker commented Aug 29, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants