-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'C:\Users\username\AppData\Local\Temp\WebCompiler1.12.394\node_modules\less\bin\lessc' #471
Comments
I keep getting this issue as well. Same steps work for me to correct it, but it doesn't last.
|
Has this ever been resolved? I get this problem often. Removing the WebCompiler extension, clearing those folders out of the temp folder and re-installing fixes it but that is just a workaround. |
Encountered this. Reinstalling the extension didn't help. What worked was deleting the ....\AppData\Local\Temp\WebCompilerX... folder (while VS2022 is open). As soon as a LESS file was saved, the web compiler files were installed, and worked. |
@glittle Worked for me too. In my case I'm using WebCompiler1.14.11 in a Blazor project to compile .scss files to .css. I hadn't updated an .scss file in a while, and when I tried to do it today, I got: |
Installed product versions
Visual Studio 2017
Visual Studio 2019
Web Compiler 1.12.394
Description
Every time I update Visual Studio 2017/2019, the Web Compiler extension stops working.
Steps to recreate
Current behavior
After an update, trying to use "Web Compiler" -> "Recompile file" in Solution Explorer gives an error of:
Expected behavior
There should be no error: Web Compiler should still work.
Temporary remedy
* Adjust the username as required.
Corroborating evidence
The issue is also reported on Stack Overflow:
https://stackoverflow.com/questions/62792048/less-in-web-compiler-for-visual-studio-2019-stopped-to-work
The text was updated successfully, but these errors were encountered: