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

Error on start #11

Open
kireerik opened this issue Dec 14, 2018 · 2 comments
Open

Error on start #11

kireerik opened this issue Dec 14, 2018 · 2 comments

Comments

@kireerik
Copy link
Contributor

kireerik commented Dec 14, 2018

I got this inconsistent error on start the 3. time:

node_modules\hot-module-replacement\index.js:24
    function pathsToAcceptingModules(path, root) {
                                    ^

RangeError: Maximum call stack size exceeded
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:24:37)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)
    at pathsToAcceptingModules (node_modules\hot-module-replacement\index.js:42:9)

I am getting this in a case as well where I am not actually using this library, but I am requiring it like this:

require('hot-module-replacement')()

Version: 3.0.2
Operating system: Windows

@sidorares
Copy link
Owner

can you share modules themselves so I can reproduce locally? Cyclic dependency maybe?

@kireerik
Copy link
Contributor Author

Yes, I have finished creating an example project: https://github.com/kireerik/refo/tree/master/example

Documentation is coming soon.

I didn't experienced this error with this example project yet. I also can not reproduce it in my other project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants