-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Error: EPERM: operation not permitted, lstat 'D:\reactnative\MyBaby\node_modules \.staging\react-native-vector-icons-2612cf43\Fonts\Zocial.ttf' #354
Comments
You have a permission error it seems ¯_(ツ)_/¯ |
I have exactly same issue. I run command line as an administrator and still get this error. Can you help me with fixing this issues |
This solution helped me. |
Better to run command prompt always as an administrator, one could find the steps to achieve on windows 7/10 here - https://www.cnet.com/how-to/always-run-a-program-in-administrator-mode-in-windows-10/ Now my issue is also got fixed. |
First, Go to android folder |
One issue I had is that my program was still running when I was trying to do ng build --prod |
Close vs code and run the command through the cmd as admin solved to me. |
@Fl4v10 Read your comment and thought closing all "open editors" might do the trick, and voila, no need to close "vs code". |
This is a permissions issue. Just open your VS Code (or whatever you use) with Administrator privileges, or use your company option for it (might be another user or just another option when you right click .exe files). If this doesn't works, then check if there is another application using this folder, that might also block the access to your files and show up this same permissions error message. |
I'm using Webstorm and for me, this was the only solution that fixed the problem
|
same issue but I did this. |
Run |
@Bradenb25 You saved my day two years later. hehehe |
Just close and open your terminal again...Then run your command |
run: |
:O Why did it actually help??? |
i was doing |
Create a metro.config.js file in the project root folder and paste the following code into it and save it. `var getBlacklistRE = function getBlacklistRE() { module.exports = { that worked for me |
Cleaning the metro cache with |
The solution here worked for me: http://bitstopixels.blogspot.com/2017/04/react-native-windows-10-eperm-operation.html cd <app_root>/android |
Eu consegui solucionar reiniciando o emulador, pausando e excluindo a aplicação dele. Depois de fazer isso é só rodar o comando yarn react-native run-android que ele vai dar o na bulid |
'npm install --cache /tmp/empty-cache' It worked for me |
Error: EPERM: operation not permitted, lstat 'D:\reactnative\MyBaby\node_modules
.staging\react-native-vector-icons-2612cf43\Fonts\Zocial.ttf'
The text was updated successfully, but these errors were encountered: