Since last week I’m getting the following error when I do “ionic serve”:
watch failed: watcher error:
/…/src/assets//*,/…/src/index.html,/…/src/manifest.json,/…/src/service-worker.js,/…/node_modules/ionicons/dist/fonts//,/…/node_modules/ionic-angular/fonts/**/,/…/node_modules/ionic-angular/polyfills/polyfills.js,/…/node_modules/sw-toolbox/sw-toolbox.js:
Error: watch /…/node_modules/ionicons/dist/fonts ENOSPC
But on the last days the app still works with “ionic serve”, but the live reload didn’t work. That’s why I have deleted the node_modules folder and used “npm install” again. But now the watch failed error is still there and on top of that I get only an empty page when I run “ionic serve”. Here is my package.json:
{
"name": "ionic-hello-world",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic/cloud-angular": "^0.11.0",
"@ionic/storage": "2.0.0",
"@ngx-translate/core": "^6.0.0",
"@ngx-translate/http-loader": "0.0.3",
"ionic-angular": "2.2.0",
"ionic-native": "2.4.1",
"ionicons": "3.0.0",
"rxjs": "5.0.1",
"sw-toolbox": "3.4.0",
"zone.js": "0.7.2"
},
"devDependencies": {
"@ionic/app-scripts": "1.1.4",
"typescript": "2.0.9"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [],
"description": "kioskapp: An Ionic project"
}
Someone know how I can fix that?
EDIT: The watch failed error appears even when I start a new project and then run “ionic serve”. My operating system is Arch Linux.