docusaurus: [1.1.3] npm start -> RangeError: Maximum call stack size exceeded
Is this a bug report?
yes
Have you read the Contributing Guidelines on issues?
yes
Environment
Docusaurus 1.1.3
Steps to Reproduce
(Write your steps here:)
- clone https://github.com/openpowerquality/docusaurus
- cd website
- npm install
- npm update
Expected Behavior
The system should come up.
Actual Behavior
npm start
> @ start /Users/philipjohnson/github/openpowerquality/docusaurus/website
> docusaurus-start
LiveReload server started on port 35729
/Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/docusaurus/lib/start-server.js:73
throw ex;
^
RangeError: Maximum call stack size exceeded
at Gaze._watchDir (/Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/gaze.js:331:17)
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/gaze.js:387:10
at iterate (/Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:69:5)
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:78:11
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/gaze.js:452:5
at iterate (/Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:69:5)
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:78:11
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/gaze.js:452:5
at iterate (/Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:69:5)
at /Users/philipjohnson/github/openpowerquality/docusaurus/website/node_modules/gaze/lib/helper.js:78:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `docusaurus-start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/philipjohnson/.npm/_logs/2018-05-24T17_31_59_565Z-debug.log
Reproducible Demo
- clone https://github.com/openpowerquality/docusaurus
- cd website
- npm install
- npm update
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (14 by maintainers)
Hi, I’m getting this same error on v.1.12.0. I did delete my
package-lock.json
and I’m still gettingFailed to start live reload server: RangeError: Maximum call stack size exceeded
OK, the problem was I didn’t delete package-lock.json before rebuilding. Now it works.
Thanks for all the troubleshooting.