question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting "selector-no-redundant-nesting-selector" to true causes FATAL error

See original GitHub issue

Setting option scss/selector-no-redundant-nesting-selector: true in .stylelintrc.js causes:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
==== JS stack trace =========================================

Security context: 0x3dc4aaf25879 <JSObject>
    1: tokenize(aka tokenize) [/home/workspace/project/node_modules/stylelint-scss/node_modules/postcss-selector-parser/dist/tokenize.js:~86] [pc=0x121715afd89b](this=0x31d4e50822d1 <undefined>,input=0x390ce8826d9 <Object map = 0x68c2f87b361>)
    2: new Parser [/home/workspace/project/node_modules/stylelint-scss/node_modules/postcss-selector-parser/dist/parser.js:159] ...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x55fab5d742c2 [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
 6: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
 7: 0x1217159042fd

While running: webpack-dev-server --env.env dev --env.isLocal true --progress --inline --port=8080 --watch --hot

Using └─┬ stylelint-scss@3.2.0 . └── postcss-selector-parser@4.0.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kristerkaricommented, Dec 26, 2018

This should now be fixed in v3.4.4. If it’s not fixed yet, let’s re-open this issue.

https://github.com/kristerkari/stylelint-scss/releases/tag/3.4.4

1reaction
kristerkaricommented, Oct 26, 2018

I think that when postcss-selector-parser v5.0.0 gets released, we can upgrade to it and see if that fixes this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug session crashing - Stopping due to fatal error ... - GitHub
Note : This only happens when "externalConsole" set to true. With it to set to false (using integrated terminal), there are no issues....
Read more >
[MC-235035] Sleeping in a custom dimension with "natural ...
The bug. When creating a custom dimension in a datapack, setting "natural" to false and "bed_works" to true causes a fatal error to...
Read more >
What to do if I see 'Fatal Error'? - Modern Events Calendar ...
Fatal Error can happen if you are using multiple plugins at the same time. They may interfere with one another ... Now you...
Read more >
"FATAL ERROR: Unhandled Access Violation Reading ...
Causes : This error is commonly caused when: LAN settings are incorrect. Windows or AutoCAD updates haven't been installed.
Read more >
Getting a "Fatal error: Index out … | Apple Developer Forums
I'm running into a weird bug that I just for the life of me cannot pinpoint. This bug only occurs in Ventura for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found