Ionic-app-scripts: watch on 0.0.45 fails with A watch configured to watch the following paths failed to start

Created on 18 Nov 2016  路  6Comments  路  Source: ionic-team/ionic-app-scripts

Short description of the problem:

What behavior are you expecting?

npm run watch with version 0.0.43 is ok.
with version 0.0.45 i get the error A watch configured to watch the following paths failed to start. It likely that a file referenced does not exist

Steps to reproduce:

  1. npm run watch
    2.
    3.
insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
0.0.45

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

needs_reply

Most helpful comment

I had the same problem, adding
"sw-toolbox": "3.4.0"
to the package.json, fixed the problem. Hope it helps somebody.

All 6 comments

Hello, thanks for using Ionic! Is the app you are experiencing this issue with on Github? If so, could we have the link? Most likely you have deleted or renamed a file, such as our app.module file, that our watch task expects to be there.

I didn't move or deleted or renamed any file from 0.0.43 to 0.0.45.
the list of files from the error:
....does not exist: /home/andre/trabalho/projetos/solucioneOnline/app.new/src/assets/, /home/andre/trabalho/projetos/solucioneOnline/app.new/src/index.html, /home/andre/trabalho/projetos/solucioneOnline/app.new/src/manifest.json, /home/andre/trabalho/projetos/solucioneOnline/app.new/src/service-worker.js, node_modules/ionic-angular/polyfills/polyfills.js, node_modules/ionicons/dist/fonts/

But I never had a file manifest.json on the project like the one on the above list.

ok. started a new project with ionic start cutePuppyPics --v2, copied the manifest.json to my project and now it works. thanks

I had the same problem, adding
"sw-toolbox": "3.4.0"
to the package.json, fixed the problem. Hope it helps somebody.

@rainmak33r Thanks it works

@rainmak33r Thanks man! Its work :+1:

Was this page helpful?
0 / 5 - 0 ratings