Greetings developers, the following has happened to me, I have deactivated my project and when I resume it today and try to continue with the development it tells me the following
ERROR Failed to compile with 2 errors
error in ./resources/assets/styles/main.scss
Syntax Error: C:\xampp\htdocs\devgd\wp-content\themes\gestion\node_modules\postcss-modules-values\node_modules\postcss\lib\css-syntax-error.js:201
} ehse {
^
SyntaxError: Unexpected token {
@ multi ./scripts/main.js ./styles/main.scss
error in ./resources/assets/styles/main.scss
Syntax Error: C:\xampp\htdocs\devgd\wp-content\themes\gestion\node_modules\postcss-modules-values\node_modules\postcss\lib\css-syntax-error.js:201
} ehse {
^
SyntaxError: Unexpected token {
I have never touched the referred file and yesterday before leaving it it worked normal, when executing ‘yarn build’ and ‘yarn start’ it ran very well.
I have reviewed the file and everything looks fine. I don’t know what happens.
‘ehse’ appears in the message but the file indicates if ‘else’ is spelled correctly.