Skip to content
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

vscode crashes React Native app #26881

Closed
VickyKoblinski opened this issue May 18, 2017 · 2 comments
Closed

vscode crashes React Native app #26881

VickyKoblinski opened this issue May 18, 2017 · 2 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@VickyKoblinski
Copy link

VickyKoblinski commented May 18, 2017

  • VSCode Version: 1.12.2
  • OS Version: Win7 SP1
  • React Native Tools Version: 0.3.2 -- Edit: Tried uninstalling React Native Tools. It took a while, but still crashed with the same error below.

Steps to Reproduce:

  1. Run android React Native project react-native run-android
  2. Open vscode
  3. Wait. Eventually the app will crash and the error below will be displayed in the terminal.

Steps taken to try to Reproduce:

  • Ran Debug Android from vscode through React Native Tools - produced error
  • Ran project without a .git directory - no crashes so far!
  • Clean installed different versions of Node - produced error
  • Restarting vscode - no change
  • Restarting android emulator - no change
  • Restarting computer - no change

Possible temporary solution (that I have not tried):

To pass in the following settings
"git.autorefresh": false, "git.autofetch": false

Possible problems:

If vscode is using a cygwin.dll to write/remove the index.lock file it may have a permissions bug, then that could be related. I experienced this bug and had a version outside the listed range.

Console:

ERROR EPERM: operation not permitted, lstat 'C:\Users\me\react-native\app\.git\index.lock' {"errno":-4048,"code":"EPERM","syscall":"lstat","path":"C:\\Users\\me\\react-native\\app\\.git\\index.lock"} Error: EPERM: operation not permitted, lstat 'C:\Users\me\react-native\app\.git\index.lock' at Error (native)

@mjbvz mjbvz added the git GIT issues label May 18, 2017
@joaomoreno
Copy link
Member

Do you have cygwin git? We don't support it: #7998

Can you reproduce with Git for Windows?

Where does the error come up? Can you share a screenshot?

@joaomoreno joaomoreno added engineering VS Code - Build / issue tracking / etc. info-needed Issue requires more information from poster and removed git GIT issues engineering VS Code - Build / issue tracking / etc. labels May 19, 2017
@vscodebot vscodebot bot closed this as completed May 26, 2017
@vscodebot
Copy link

vscodebot bot commented May 26, 2017

This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants