Repository navigation
angular-cli in Bash on Ubuntu on Windows #1555
Copy link
Copy link
Closed
Description
Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10
- Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
angular-cli: 1.0.0-beta.10
node: 5.12.0
os: linux x64
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Nothing is changed.
- The log given by the failure. Normally this include a stack trace and some
more information.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
File: /home/rex/ng-cli/src
The Broccoli Plugin: [Funnel] failed with:
Error: watch /home/rex/ng-cli/src EPERM
at exports._errnoException (util.js:893:11)
at FSWatcher.start (fs.js:1313:19)
at Object.fs.watch (fs.js:1341:11)
at NodeWatcher.watchdir (/home/rex/ng-cli/node_modules/angular-cli/node_modules/sane/src/node_watcher.js:144:20)
at new NodeWatcher (/home/rex/ng-cli/node_modules/angular-cli/node_modules/sane/src/node_watcher.js:45:8)
at new sane (/home/rex/ng-cli/node_modules/angular-cli/node_modules/sane/index.js:17:12)
at EventEmitter.Watcher_addWatchDir [as addWatchDir] (/home/rex/ng-cli/node_modules/angular-cli/node_modules/broccoli-sane-watcher/index.js:93:17)
at /home/rex/ng-cli/node_modules/angular-cli/node_modules/angular-cli-broccoli/lib/builder.js:95:35
at lib$rsvp$$internal$$tryCatch (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
The broccoli plugin was instantiated at:
at Funnel.Plugin (/home/rex/ng-cli/node_modules/angular-cli/node_modules/broccoli-plugin/index.js:10:31)
at new Funnel (/home/rex/ng-cli/node_modules/angular-cli/node_modules/broccoli-funnel/index.js:44:10)
at Angular2App._buildInputTree (/home/rex/ng-cli/node_modules/angular-cli/lib/broccoli/angular2-app.js:92:7)
at new Angular2App (/home/rex/ng-cli/node_modules/angular-cli/lib/broccoli/angular2-app.js:51:41)
at module.exports (/home/rex/ng-cli/angular-cli-build.js:10:10)
at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/rex/ng-cli/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)
at Class.module.exports.Task.extend.init (/home/rex/ng-cli/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)
at new Class (/home/rex/ng-cli/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (/home/rex/ng-cli/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/serve.js:15:19)
at /home/rex/ng-cli/node_modules/angular-cli/node_modules/angular-cli/lib/commands/serve.js:64:24
at lib$rsvp$$internal$$tryCatch (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)
at lib$rsvp$$internal$$invokeCallback (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)
at /home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11
at lib$rsvp$asap$$flush (/home/rex/ng-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1198:9)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
- Mention any other details that might be useful.
Bash on Ubuntu on Windows, installed after windows 10 1607 update.
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
Thanks! We'll be in touch soon.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
panic175 commentedon Aug 5, 2016
I got the same error.
When I try installing this watchman-thing from here. I got this message:
The rest is the same.
rexebin commentedon Aug 5, 2016
I think it could be Bash On Ubuntu on Windows bug, it is beta afterall.
With dotnet core 1.0, I got some errors indicating localhost:5000 was used when there is nothing using it in bash.
They could be related: not able to watch some address or ports in bash.
bruno222 commentedon Aug 8, 2016
+1
erikfig commentedon Aug 9, 2016
+1
bunglestink commentedon Aug 14, 2016
+1
jcoryarnold commentedon Aug 15, 2016
+1
filipesilva commentedon Aug 19, 2016
BashOnWindows is known to have problems with following symlinks, and beta.10 works by creating a whole lot of symlinks. Thus it breaks.
Symlinks are no longer necessary on the webpack version (#1455). See https://github.com/angular/angular-cli#webpack-preview-release-update for update instructions.
angular-automatic-lock-bot commentedon Sep 6, 2019
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.