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.

Not enough errors explanation

See original GitHub issue

I am a new to postcss and I have a difficulties to debug postcss exceptions.

For example I spent many time to understand this exception:

2021-05-18_01-05-07

I can get it on if I forget to set right path to mixin file in config or forgot add options like here require('postcss-mixins')({ mixinsDir: path.join(__dirname, '/src/css/mixins/') }),

The problem was I forgot to remove ( ) from mixin name @add-mixin media (840) to @add-mixin media 840 But exception on the screenshot is the same for all cases. I suppose it is not dev friendly or I don’t understand something.

The second. Is there css validation option in postcss? I compile wrong css file (when mixin are not worked i got nested properties) but postcss doesnot show me any info about it. I suppose I can do in a mistake in setting in future and will not catch it

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
aicommented, May 18, 2021

Released in postcss-mixins 8.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can someone explain why I am getting the error "Not enough ...
Its a normal error that occurs when the function is compiled. Just try calling the function from the command window and make sure...
Read more >
Avoiding common errors with the word enough.
Enough is a very common word, but it is easy to make mistakes with it. You need to be careful about its position...
Read more >
Picking the model with the lowest cross validation error is not ...
We often pick the model with the lowest CV error, but this leaves out valuable information. Specifically, it ignores the uncertainty around ......
Read more >
Type II Error Explained, Plus Example & vs. Type I Error
A Type II error can occur if there is not enough power in statistical tests, often resulting from sample sizes that are too...
Read more >
Error message "Not enough nodes" | Water Infrastructure Forum
When I try to validate my model I receive the error message "Not enough nodes exist in the network". I have no idea...
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