0

Below is the error I am facing. dharm@LAPTOP-877D2J39 MINGW64 /c/Windows/System32/contactmanager (master) $ npm run build

[email protected] build C:\Windows\System32\contactmanager react-scripts build

Failed to compile.

EPERM: operation not permitted, mkdir 'C:\Windows\System32\contactmanager\build'

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: react-scripts build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\dharm\AppData\Roaming\npm-cache_logs\2018-12-06T10_22_25_ 475Z-debug.log

1 Answer 1

0

EPERM: operation not permitted, mkdir

Seems like some permission issue, can you try opening the terminal as an administrator & try building the application. There should be an option to 'Run As Admin' when you right click on the bash icon.

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

1 Comment

Glad to hear bud! :-)

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.