-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not start watchman; falling back to NodeWatcher for file system events. #1390
Comments
I am searching a lot about the above issue but still not fount any solution. I found that i have that issue after my Ubuntu update. I have enabled auto update for my OS and this issue starting after update completed. |
Closed as this issue was made obsolete by #1455. |
I just encountered this when deploying to Heroku. On development it works fine. |
@kamok did you find a solution ? same problem here when trying to deploy on heroku. |
@tonyvince Nope. I gave up playing with Angular 2 before it gets out of beta. Currently building projects with Angular 1, and trying React JS. |
I had the same issue and was solved by installation of watchman https://facebook.github.io/watchman/docs/install.html |
I had the same issue with Watchman and I actually followed the link mentioned in the cli (http://ember-cli.com/user-guide/#watchman). |
@tucq88, I have watchman under "/usr/local/bin/watchman" Homebrew: $ which brew |
i have same problem before but now after install watchman is working fine.if you are using linux i think you can install watchman
|
@mpavel So my solution is using TL;DR: use |
Try ln -s /Users/tucp/.homebrew/bin/watchman /usr/local/bin/watchman
|
@tucq88 you more likely want to do |
For OSX: Once you have installed watchman and can confirm by running "watchman --version", make sure it has permissions to the project folder in which you're working: "watchman -p". If this returns an error about "permission denied", you have two options: grant your current user account access to everything on your hard drive or run ng in an elevated shell, e.g. "sudo su -" (the latter worked for me). ... or just get the latest version that does away with the check and the warning ... |
@dcchristopher |
@tucq88 It looks like you're not having any permission issues related to watchman creating a state file. That's one of the first things it tries to do. For me, running "watchman" (with or without " -p") under my personal user account leads to the permissions error. If I run it in a "sudo su -" session, then it's fine (and I get the same error about insufficient arguments as you). |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Hey, I am starting using angular-cli and get this error while starting my first app
Following are the details.
angular-cli: 1.0.0-beta.9
node: 4.4.7
os: linux x64
Steps :
Looks like you have a different program called watchman, falling back to NodeWatcher.
Visit http://ember-cli.com/user-guide/#watchman for more info.
File: /home/devansh/Documents/Workspace/django-angular2/my-app/src
The Broccoli Plugin: [Funnel] failed with:
Error: watch /home/devansh/Documents/Workspace/django-angular2/my-app/src ENOSPC
at exports._errnoException (util.js:873:11)
at FSWatcher.start (fs.js:1234:19)
at Object.fs.watch (fs.js:1262:11)
at NodeWatcher.watchdir (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/sane/src/node_watcher.js:144:20)
at new NodeWatcher (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/sane/src/node_watcher.js:45:8)
at new sane (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/sane/index.js:17:12)
at EventEmitter.Watcher_addWatchDir as addWatchDir
at /home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/angular-cli-broccoli/lib/builder.js:95:35
at lib$rsvp$$internal$$tryCatch (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
The broccoli plugin was instantiated at:
at Funnel.Plugin (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/broccoli-plugin/index.js:10:31)
at new Funnel (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/broccoli-funnel/index.js:44:10)
at Angular2App._buildInputTree (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/lib/broccoli/angular2-app.js:92:7)
at new Angular2App (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/lib/broccoli/angular2-app.js:51:41)
at module.exports (/home/devansh/Documents/Workspace/django-angular2/my-app/angular-cli-build.js:10:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)
at Class.module.exports.Task.extend.init (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)
at new Class (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/serve.js:15:19)
at /home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/angular-cli/lib/commands/serve.js:64:24
at lib$rsvp$$internal$$tryCatch (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/home/devansh/Documents/Workspace/django-angular2/my-app/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
The text was updated successfully, but these errors were encountered: