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

npm start.sw missing script

Open marcoramini opened this issue 7 years ago • 3 comments

Resources:

Stencil version:

@stencil/[email protected]

I'm submitting a ... [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: npm run start.sw

Expected behavior: start dev server with ServiceWorker

Other information: I'm trying to test push notification. The script isen't in the package.json

marcoramini avatar Oct 04 '18 11:10 marcoramini

I took a look at the commit history for package.json and it looks like it was removed in 3b3d76bfb087dbbc57b4e458c3f4a3062e156c7b. Not sure if that was a mistake or an intentional design choice. Any thoughts, @manucorporat?

In the meantime, you can just pass --service-worker to the start script.

npm start -- --service-worker

natemoo-re avatar Oct 15 '18 19:10 natemoo-re

@natemoo-re can you do a pull to correct readme.md

anarchitect avatar Apr 06 '19 14:04 anarchitect

@natemoo-re this project includes several execution errors, have you tried to run today? for example " The 'swSrc' file can't be read. ENOENT: no such file or directory, open" can you do a pull to correct readme.md?

romulocomin avatar Jan 29 '21 12:01 romulocomin