Node#before is deprecated. Use Node#raws.before
See original GitHub issueIn latest version:
Node#before is deprecated. Use Node#raws.before
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot set property 'parent' of undefined
(node:6676) 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.
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot set property 'parent' of undefined
(node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): TypeError: Cannot set property 'parent' of undefined
In v6.3.0 all fine. The bug is manifested with postcss-import https://github.com/postcss/postcss-import/issues/285
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Node#before is deprecated. Use Node#raws.before · Issue #905
Node#before is deprecated. Use Node#raws.before #905 ... Update PostCSS. You must use PostCSS 6.0. Check npm ls content.
Read more >Node#before is deprecated. Use Node#raws.before -
Coming soon: A brand new website interface for an even better experience!
Read more >Issues Building Metabase v0.38.2 - Get Help
Step "Run 'webpack' with NODE_ENV=production to assemble and minify frontend assets" failed with error "Node#before is deprecated. Use Node#raws.before".
Read more >Deprication Warning !! After running npm start on client side ...
DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Read more >PostCSS API
Every parser saves its own properties, but the default CSS parser uses: ... Shortcut to clone the node and insert the resulting cloned...
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 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
I have the same issue described by @h0tc0d3. However the error message go when commenting out the
precss
plug-in. Is it worth it to open a bug report on your repo @jonathantneal?@AntonioRedondo https://github.com/jonathantneal/postcss-partial-import/issues/41