-
Notifications
You must be signed in to change notification settings - Fork 10.3k
EPERM: operation not permitted, mkdir 'C:\Windows\system32\config\systemprofile\AppData\Roaming\npm' #10284
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
Comments
Thanks for contacting us, @itcancle. |
This didn't reproduce for me using our latest templating bits. Are you sure you didn't make any other changes before running it? Also, |
thank you for your reply~ Now I upgraded my SDK to
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
</environmentVariables> |
@ryanbrandenburg sorry,excuse me~ are you still concerned about this issue? |
This issue is slatted for preview7. I had hoped I could help toward a solution without too much effort so we could help earlier, but it appears the problem is more involved than that, so I'll have to wait for preview7 to devote more to it. Sorry for the confusion. |
Hi @itcancle. While we do our best to look through all the issues filed here, to get a faster response we suggest posting your questions to StackOverflow using the asp.net-core-mvc tag. |
okay. Thank you for your reminder |
I think i found the problem: if (env.IsDevelopment())
{
spa.UseAngularCliServer(npmScript: "start");
} Because of special handling in <environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Staging" />
</environmentVariables> |
This bug needs to be re-opened or addressed in another issue. |
Hi,guy,I don't think this is a problem. Because the spa project after the release does not have npm, webpack and other config files, there is no way to execute the corresponding script.That is all pure javascript files. |
Describe the bug
Angular SPA project, when I add environment variables in web.config report an error. when I remove environment variables is ok.
To Reproduce
web.config
,add environment variablesdiff
logging
Expected behavior
dotnet run is ok.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: