after upgrade to RC2
@ionic/app-scripts": “0.0.39”
ionic serve failed:
watch failed: watcher error:
******/src//.ts: Error: watch
***/src ENOSPC
ionic-app-script task: “watch”
[11:14:12] Error: watcher error:
*******/src//.ts: Error: watch
********/src ENOSPC
however with @ionic/app-scripts": “0.0.36” it works (… with warnings)
What’s the right scripts version?
A lot of thanks!
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS
Node Version: v6.9.1
The latest @ionic/app-scripts version is 0.0.41.
you are right…
but with 0.0.41
build dev failed: Cannot find module ‘…/util/Logger’
and in RC2 package.json used 0.39
even for me, im getting this error :
Running ‘serve:before’ gulp task before serve
[10:51:31] Starting ‘sass’…
[10:51:31] Starting ‘html’…
[10:51:31] Starting ‘fonts’…
[10:51:31] Starting ‘scripts’…
app\theme\app.ios.scss
Error: File to import not found or unreadable: ionic.ios
Parent style sheet: C:/Users/Zibib/farmainforma/app/theme/app.ios.scss
on line 19 of app/theme/app.ios.scss
@import “ionic.ios”;
^
[10:51:31] Finished ‘sass’ after 293 ms
[10:51:31] Finished ‘scripts’ after 412 ms
[10:51:31] Finished ‘fonts’ after 550 ms
[10:51:31] Finished ‘html’ after 732 ms
[10:51:31] Starting ‘watch’…
SyntaxError: Unexpected token (22:7) while parsing C:\Users\Zibib\farmainforma\node_modules@angular\core\src\facade\lang.js while parsing file: C:\Users\Zibib\farmainforma\node_modules@angular\core\src\facade\lang.js
I have the latest version and i get this error,
can’t solve it 
I tried it , but i got Failed to load resource: the server responded with a status of 404 (Not Found) main.js , main.css ,
Hi …
Any news?
the new project (out of the box) failed on ionic serve too.
with same watch error:
watch failed: watcher error:
However
ionic build android
or
ionic run android --livereload --consolelogs
working well
new script has solved the problem
Ionic App Scripts Version: 0.0.43
Hello,
Try this in folder of your app name,
npm install ionic@latest -g
The new command after update at last ionic version.