angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.76k stars 11.98k forks source link

ng serve fails due to watchman failure #618

Closed ehzawad closed 8 years ago

ehzawad commented 8 years ago

. Linux (xenial xerus).

ehz@ubuntu(~): ng --version (node:1862) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. angular-cli: 0.0.37 node: 6.0.0 os: linux x64

I am running linux in VMware workstation 12(hypervisor)

May be the issue with watcher , with backtracking files (recursively)

I have allocated enough memory but don't why it fails...

I think the problem with this cli...Beacuse Angularquickstart from augular.io just works fine..

ehz@ubuntu(~/angularSecond):(master) ng serve (node:1679) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. Livereload server on http://localhost:49152 Serving on http://localhost:4200/

Build successful - 8934ms.

Slowest Trees | Total
----------------------------------------------+--------------------- BroccoliTypeScriptCompiler | 6507ms
vendor | 1520ms

Slowest Trees (cumulative) | Total (avg)
----------------------------------------------+--------------------- BroccoliTypeScriptCompiler (1) | 6507ms
vendor (1) | 1520ms

[sane] Warning: Lost connection to watchman, reconnecting.. [sane] Warning: Lost connection to watchman, reconnecting.. [sane] Warning: Lost connection to watchman, reconnecting.. [sane] Warning: Lost connection to watchman, reconnecting.. A non-recoverable condition has triggered. Watchman needs your help! The triggering condition was at timestamp=1462327545: inotify-add-watch(/home/ehz/angularSecond/node_modules/angular-cli/node_modules/systemjs-builder/node_modules/babel-core/node_modules/minimatch) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl All requests will continue to fail with this message until you resolve the underlying problem. You will find more information on fixing this at https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch

Error: A non-recoverable condition has triggered. Watchman needs your help! The triggering condition was at timestamp=1462327545: inotify-add-watch(/home/ehz/angularSecond/node_modules/angular-cli/node_modules/systemjs-builder/node_modules/babel-core/node_modules/minimatch) -> The user limit on the total number of inotify watches was reached; increase the fs.inotify.max_user_watches sysctl All requests will continue to fail with this message until you resolve the underlying problem. You will find more information on fixing this at https://facebook.github.io/watchman/docs/troubleshooting.html#poison-inotify-add-watch

at BunserBuf.<anonymous> (/home/ehz/angularSecond/node_modules/angular-cli/node_modules/angular-cli/node_modules/sane/node_modules/fb-watchman/index.js:95:23)
at emitOne (events.js:96:13)
at BunserBuf.emit (events.js:188:7)
at BunserBuf.process (/home/ehz/angularSecond/node_modules/angular-cli/node_modules/angular-cli/node_modules/sane/node_modules/fb-watchman/node_modules/bser/index.js:289:10)
at /home/ehz/angularSecond/node_modules/angular-cli/node_modules/angular-cli/node_modules/sane/node_modules/fb-watchman/node_modules/bser/index.js:244:12
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)

hey

mackelito commented 8 years ago

Upgrade to latest angular-cli.. Should work there

ehzawad commented 8 years ago

:+1:

angular-automatic-lock-bot[bot] commented 5 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.