Maximum call stack size exceeded since version 14.0.0
Expected Behavior
bit status is working well
Actual Behavior
bit status is giving "Maximum call stack size exceeded" for my component
Steps to Reproduce the Problem
- make sure you have bit-bin version 14.0.0
- clone this repo https://github.com/constantin-v/bitsrcbug
- npm i
- bit init
- bit add src/MyStylesComponent
- bit status
Specifications
- Bit version: 14.0.0
- Node version: 10.8.0
- npm / yarn version: 6.2.0
- Platform: Windows 10
- Bit compiler (include version): n/a
- Bit tester (include version): n/a
Comments
With version 13.0.5 everything is working fine. If you're changing the name of the file from "base.scss" to "toto.scss", bit status is working If you're changing the name of the file from "base.scss" to "_base.scss", bit status is NOT working
@constantin-v , thanks for reporting the bug and for the clear steps how to reproduce.
The root cause of the issue is a bug with dependency-tree package, which doesn't clear the cache of an object. However, it introduced only with this version because we changed our CSS resolver to use that specific cache mechanism.
It's now fixed.
Who ate you? Are you from glitch staff?
On Fri, Feb 8, 2019, 19:58 Constantin [email protected] wrote:
Expected Behavior
bit status is working well Actual Behavior
bit status is giving "Maximum call stack size exceeded" for my component Steps to Reproduce the Problem
- make sure you have bit-bin version 14.0.0
- clone this repo https://github.com/constantin-v/bitsrcbug
- npm i
- bit init
- bit add src/MyStylesComponent
- bit status
Specifications
- Bit version: 14.0.0
- Node version: 10.8.0
- npm / yarn version: 6.2.0
- Platform: Windows 10
- Bit compiler (include version): n/a
- Bit tester (include version): n/a
Comments
With version 13.0.5 everything is working fine. If you're changing the name of the file from "base.scss" to "toto.scss", bit status is working If you're changing the name of the file from "base.scss" to "_base.scss", bit status is NOT working
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/teambit/bit/issues/1431, or mute the thread https://github.com/notifications/unsubscribe-auth/Amv50Z6-0AGbrpOX5CT67IzFfkBB-9olks5vLbrggaJpZM4aw1XX .
Thanks @davidfirst The fix will be available on the next release ?
@constantin-v , the fix was done on bit-javascript with is a dependency of bit. I released already a new version of that repo, so if you reinstall bit-bin, you should get already the fix.