cant ng build because => "Error: Unexpected '/'. Escaping special characters with \ may help."
See original GitHub issueI am trying to ng serve --prod but i get an error.
Error: Unexpected ‘/’. Escaping special characters with \ may help.
Looking online. It seems to be an issue with escaping \ when using @apply (example => @apply text-8\/2 font-bold;)
However — i don’t have any @applys that use \. Also when i use @apply vscode gives me syntax errors despite using postcss language support
semi-colon expectedscss(css-semicolonexpected)

“@ngneat/tailwind”: “^7.0.3”, “@angular/cli”: “12.0.0”, “@nrwl/cli”: “12.3.4”, “@nrwl/cypress”: “12.3.4”, “@nrwl/eslint-plugin-nx”: “12.3.4”, “@nrwl/jest”: “12.3.4”, “@nrwl/linter”: “12.3.4”, “@nrwl/nx-cloud”: “latest”, “@nrwl/storybook”: “^12.3.4”, “@nrwl/tao”: “12.3.4”, “@nrwl/workspace”: “12.3.4”,
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
Unexpected '/'. Escaping special characters with \ may help
How to fix it? 1.) Just go to your all css files 2.) next / or * find it in your css files...
Read more >modular-css/modular-css - Gitter
Escaping special characters with \ may help." So that's the error webpack should give if the file is invalid, more or less.
Read more >Tasks in Visual Studio Code
Tasks in VS Code can be configured to run scripts and start processes so that many ... the command needs to contain the...
Read more >Page names with special characters to generate regular URL
Even special characters like German umlaut or cyrillic letters can be used in the links. They will be ignored since only the id...
Read more >SyntaxError: illegal character - JavaScript - MDN Web Docs
There is an invalid or unexpected token that doesn't belong at this position in the code. Use an editor that supports syntax highlighting...
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 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
@Jackeysharath my problem was resolved, it was not related to tailwin, it was due to */ comment which was not completed. the angular compiler doesn’t look for errors in the CSS declarations so it doesn’t show compile errors.
same issue with my code. Fixed by converting //comments to /* comments */