Skip to content
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

DirectoryWatcher crashes during ng-serve #6749

Closed
bickycheese opened this issue Jun 20, 2017 · 2 comments
Closed

DirectoryWatcher crashes during ng-serve #6749

bickycheese opened this issue Jun 20, 2017 · 2 comments

Comments

@bickycheese
Copy link

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.1.1
node: 6.9.4
OS: Windows 7 x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/platform-server: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.1.1
@angular/compiler-cli: 4.1.3

Repro steps.

N/A

The log given by the failure.

[root]\node_modules\watchpack\lib\DirectoryWatcher.js:288
DirectoryWatcher.prototype.getTimes = function() {
                                              ^

RangeError: Maximum call stack size exceeded
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:288:47)
    at DirectoryWatcher.<anonymous> ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:306:35)
    at Array.forEach (native)
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:304:33)
    at DirectoryWatcher.<anonymous> ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:306:35)
    at Array.forEach (native)
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:304:33)
    at DirectoryWatcher.<anonymous> ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:306:35)
    at Array.forEach (native)
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:304:33)
    at DirectoryWatcher.<anonymous> ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:306:35)
    at Array.forEach (native)
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:304:33)
    at DirectoryWatcher.<anonymous> ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:306:35)
    at Array.forEach (native)
    at DirectoryWatcher.getTimes ([root]\node_modules\watchpack\lib\DirectoryWatcher.js:304:33)

Desired functionality.

No ng-serve crash.

Mention any other details that might be useful.

Just reporting this error, got this while adding a an application feature (component, service, ...)
Root folder in stack is obfuscated.

@filipesilva
Copy link
Contributor

Duplicate of #6309, related to #6739.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants