2017-02-06 2 views
0
<GridLayout row="1" columns="*"> 
<TextField hint="Station name" col="0" [ngModel]="stationName" (ngModelChange)="stationTyping($event)"></TextField> 
</GridLayout> 

Dies wird geben Fehler:nativescript Textfeld ngModelChange

Found peer TypeScript 2.0.10 
12:31:01 AM - Compilation complete. Watching for file changes. 

Error: watch /var/www/html/train-locator/node_modules/adm-zip/headers ENOSPC 
    at exports._errnoException (util.js:1036:11) 
    at FSWatcher.start (fs.js:1429:19) 
    at Object.fs.watch (fs.js:1456:11) 
    at createFsWatchInstance (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:37:15) 
    at setFsWatchListener (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:80:15) 
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:228:14) 
    at FSWatcher.NodeFsHandler._handleDir (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:407:19) 
    at FSWatcher.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:455:19) 
    at FSWatcher.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/chokidar/lib/nodefs-handler.js:460:16) 
    at FSReqWrap.oncomplete (fs.js:123:15) 

Manchmal gibt es Fehler auf einem node_module und manchmal auf einem anderen mode_module. Was bedeutet dieser Fehler? was könnte hier möglicherweise falsch sein?

Antwort

0
ENOSPC === no space left on device 

Das geschieht oft, wenn Emulatoren mit 200MB Raum (Standardwert) erstellt, und Sie haben bereits mehrere Anwendungen (die im Debug-Modus sind größer als bei der Freisetzung und 200mb ist oft nicht genug Platz für die Prüfung mehrerer Anwendungen) installiert /. Die Lösung besteht darin, den Emulator so zu bearbeiten, dass mehr Speicherplatz belegt wird oder einige installierte Anwendungen entfernt werden.

+0

Ich benutze Android-Handy, und es hat mehr als 2 GB freien Speicherplatz übrig. Und dieses Problem tritt auf, nachdem ich nativescript auf 2.5 aktualisiert habe – Sahil

Verwandte Themen