react-native init fails with "RangeError: Maximum call stack size exceeded"
See original GitHub issueI’m not doing anything fancy, just:
react-native init PleaseWork
After waiting a bit, the command exits with:
error RangeError: Maximum call stack size exceeded
React Native version:
info Fetching system and libraries information...
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(TM) M-5Y71 CPU @ 1.20GHz
Memory: 361.93 MB / 8.00 GB
Shell: 3.0.2 - /usr/local/bin/fish
Binaries:
Node: 12.9.0 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.11.2 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
Steps To Reproduce
- run
react-native init PleaseWork - Watch it ignore my pleas.
Describe what you expected to happen: I expected it to not crash while initializing a project.
I imagine this isn’t affecting many other people, it’s just strange that it crashes repeatedly when doing the literal first step in the process of creating an app.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
React Native debugging - Maximum call stack size exceeded
Issue and Steps to Reproduce Starting the debugger from nuclide and attaching to it results in "Maximum call stack size exceeded" error.
Read more >React-native debugging error: Maximum call stack size ...
Sometimes calling a recursive function over and over again, causes the browser to send you Maximum call stack size exceeded error message as...
Read more >npx react-native init fails due to Maximum call stack size ...
Just run npm cache clean --force. That usually works for me.
Read more >Maximum call stack size exceeded (native stack ... - Reddit
I migrated an app and a changed the build.gradlew file. Right now i'm getting this error when i run the android version of...
Read more >npx react-native init fails due to Maximum call stack size ...
Coding example for the question npx react-native init fails due to Maximum call stack size exceeded npm error-React Native.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@dulmandakh I’m literally only running
react-native init PleaseWork. That’s it. None of my code is involved.This is happening to me as well for
react-nativev0.60.0, v0.60.4 & v0.60.5@redaphid I fixed this by removing
react-nativeas a global install and replacing it withreact-native-cliinstead!