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
635 stars 74 forks source link

ENOENT on first run #52

Closed peterennis closed 6 years ago

peterennis commented 6 years ago

ENOENT on first run Ctr-C, then it works on second run Screen flashes twice on opening

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

C:\ae\aedev\ionic-pwa-toolkit>npm list @stencil/core
@stencil/starter@0.0.1 C:\ae\aedev\ionic-pwa-toolkit
`-- @stencil/core@0.7.24

I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior:

{
  "error": {
    "errno": -4058,
    "code": "ENOENT",
    "syscall": "stat",
    "path": "C:\\ae\\aedev\\ionic-pwa-toolkit\\www"
  }
}

enoent

Expected behavior: Should work on first run Screen should not flash twice

Steps to reproduce: Create

Related code:

insert any relevant code here

Other information:

scottopolis commented 6 years ago

I got this same error, although the errno was a different number.

anilbhanushali commented 6 years ago

I am also getting the same error on browser and on terminal as below

screenshot 2018-05-27 18 09 03
adamdbradley commented 6 years ago

This should be fixed with the intergrated dev-server, as of v0.10.0.

@anilbhanushali The semver error should be fixed in the next release, thanks.