0

Created a ASP.Net Core 3 web app with React using Visual Studio 2019. When I try to run the application in visual studio, I am seeing the following error.

I tried running Visual Studio as administrator, but did not help.

Failed to compile.

Microsoft.AspNetCore.SpaServices: Information: ./src/index.js

Microsoft.AspNetCore.SpaServices: Error: Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'

Microsoft.AspNetCore.SpaServices: Error: Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'

1 Answer 1

1

I navigated to the folder "ClientApp" using command prompt. Deleted node_modules folder.

  1. Ran npm install

Then when I run the project from Visual Studio, no error seen.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.