TypeError: ast.remove is not a function
See original GitHub issueSir, I’ve met this error with all CSS files and with both custom and default configure:
(node:25107) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: ast.remove is not a function
(node:25107) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This error only occurs in v4.0.1, not with v3.1.7.
My environment:
node v7.7.1
arch linux 4.9.11
Issue Analytics
- State:
- Created 7 years ago
- Reactions:14
- Comments:23 (8 by maintainers)
Top Results From Across the Web
Uncaught TypeError: element.remove is not a function
This is because there can be multiple elements with the same tag. var myobjArr = document.getElementsByTagName(selector); myobjArr[0].remove();.
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >Uncaught TypeError: i(…).remove is not a function
Upgraded to 2.9.4 and got this error: Uncaught TypeError: i(…).remove is not a function at s.createPage (sbi-scripts.min.js?ver=2.9.4:1)
Read more >ast — Abstract Syntax Trees — Python 3.11.1 documentation
When an expression, such as a function call, appears as a statement by itself with its return value not used or stored, it...
Read more >The 10 Most Common JavaScript Issues Developers Face
Uncaught TypeError: undefined is not a function ... Interestingly, even if element is removed from the DOM, the circular self-reference above would prevent ......
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 FreeTop 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
Top GitHub Comments
I am having the same issue and changing
"eof-newline": false,
to true fixes the fault. Hope that helps finding the issue.Should this
https://github.com/csscomb/csscomb.js/blob/dev/src/options/block-indent.js#L48
ast.remove(i);
not be
ast.removeChild(i);
?