version: 2.4.2
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
File: /home/user/Documents/myApp/app
The Broccoli Plugin: [object Object] failed with:
Error: watch /home/user/Documents/myApp/app ENOSPC
at exports._errnoException (util.js:870:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at NodeWatcher.watchdir (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/sane/src/node_watcher.js:144:20)
at new NodeWatcher (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/sane/src/node_watcher.js:45:8)
at new sane (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/sane/index.js:17:12)
at EventEmitter.Watcher_addWatchDir [as addWatchDir] (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/broccoli-sane-watcher/index.js:93:17)
at /home/user/Documents/myApp/node_modules/ember-cli/node_modules/ember-cli-broccoli/lib/builder.js:95:35
at lib$rsvp$$internal$$tryCatch (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
The broccoli plugin was instantiated at:
at WatchedDir.Directory (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/broccoli-source/index.js:14:31)
at new WatchedDir (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/broccoli-source/index.js:58:13)
at EmberApp._initOptions (/home/user/Documents/myApp/node_modules/ember-cli/lib/broccoli/ember-app.js:221:16)
at new EmberApp (/home/user/Documents/myApp/node_modules/ember-cli/lib/broccoli/ember-app.js:93:8)
at module.exports (/home/user/Documents/myApp/ember-cli-build.js:6:13)
at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/user/Documents/myApp/node_modules/ember-cli/lib/models/builder.js:55:19)
at Class.module.exports.Task.extend.init (/home/user/Documents/myApp/node_modules/ember-cli/lib/models/builder.js:89:10)
at new Class (/home/user/Documents/myApp/node_modules/ember-cli/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (/home/user/Documents/myApp/node_modules/ember-cli/lib/tasks/serve.js:15:19)
at /home/user/Documents/myApp/node_modules/ember-cli/lib/commands/serve.js:70:22
Ember cli applicazione build non riesce: Il plug-in Broccoli: [oggetto oggetto] non è riuscito con:
risposta
Avete installato il watchman? forse potrebbe aiutare a superare il problema di Nodewatch. Nel mio 64 bit di Ubuntu:
// installing watchman from source
git clone https://github.com/facebook/watchman.git
cd watchman
./autogen.sh
./configure
make
sudo make install
istruzioni complete per quanto riguarda guardiano si possono trovare anche qui https://facebook.github.io/watchman/docs/install.html
Questo errore è dovuto al fatto di orologi inotify che raggiungono il limite massimo nel vostro sistema.
per verificare il numero massimo di orologi inotify:
cat /proc/sys/fs/inotify/max_user_watches
Per impostare il numero massimo di inotify orologi
temporaneamente:
- Run
sudo sysctl fs.inotify.max_user_watches=
con il valore preferito alla fine .
permanente:
echo 878987 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
Che cosa fa l'impostazione fs.inotify.max_user_watches? – ashipj
Esiste un ** modo più permanente **? qualcosa che funziona dopo il riavvio? –
- 1. Come eseguire il debug delle build di Ember CLI/Broccoli
- 2. Ember build failing
- 3. Spostare l'intera cartella utilizzando Broccoli JS in Ember Progetto CLI
- 4. Ember-cli ember serve AssertionError (false == true)
- 5. ember-cli aggiungendo dipendenze con il pergolato
- 6. Ember CLI non trova parziale
- 7. Impossibile clonare repository Git - "Funzione oggetto ... non ha metodo 'hasMagic'"
- 8. Troppo lento ember-cli build su windows
- 9. RedirectToAction (..) con il complesso oggetto profondo non riesce
- 10. http-proxy ember-cli non funziona
- 11. Ember-cli: live ricarica non funzionante
- 12. Build Android con jmDNS non riuscito
- 13. X509 non riesce a trovare richiesto oggetto
- 14. Ember Cli - Transpiling dipendenza ES6 del fornitore in ember-cli-build?
- 15. Iniettare un servizio in un oggetto Ember [non è un controller Ember]
- 16. oggetto 'frozenset' non è richiamabile
- 17. Errore Watchman con ember-cli
- 18. Ember 2.0 senza Ember cli?
- 19. Come configurare Ember CLI per utilizzare uncss
- 20. mongoose.js CastError: Cast su numero non riuscito per il valore "[oggetto oggetto]" sul percorso "indefinito"
- 21. non è riuscito a eseguire l'obiettivo org.apache.maven.plugins: maven-gpg-plugin
- 22. Costruire con CLI ember nell'ambiente di produzione
- 23. crea un oggetto temporaneo non persistente in Ember-Data
- 24. Rails/Ember - active_model_serializer - metodo non definito `oggetto' quando sideloading
- 25. Ember CLI con i proxy multipli
- 26. JavaFX Binding non riesce con "Impossibile eseguire il binding su oggetto non tipizzato".
- 27. CLI di Ember: Build per la gestione temporanea
- 28. Ember CLI e ASP.NET
- 29. oggetto applicazione Android
- 30. Ember Test CLI Helpers
Hai provato a reinstallare i componenti Bower & moduli nodo? –
@ stijn.aerts che non funzionerà in quanto correlato al guardiano –