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

npm start.sw missing script #89

Open
marcoramini opened this issue Oct 4, 2018 · 3 comments
Open

npm start.sw missing script #89

marcoramini opened this issue Oct 4, 2018 · 3 comments
Labels

Comments

@marcoramini
Copy link

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

@ionitron-bot ionitron-bot bot added the triage label Oct 4, 2018
@natemoo-re
Copy link

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

@anarchitect
Copy link

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

@romulocomin
Copy link

romulocomin commented Jan 29, 2021

@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?

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

No branches or pull requests

4 participants