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

Uncaught (in promise) Error: Git head failed #90

Open
rugk opened this issue Jan 22, 2018 · 1 comment
Open

Uncaught (in promise) Error: Git head failed #90

rugk opened this issue Jan 22, 2018 · 1 comment

Comments

@rugk
Copy link

rugk commented Jan 22, 2018

I installed racer and the rust source (and set them up in the config), so no error is popping up in Atom.

I also saw the temporary files being created, but I see no suggestions in Atom.

It shows me this in the developer console:

<embedded>:132586 Uncaught (in promise) Error: Git head failed

(Note: I do not use git in the project and I also installed rust's source via rustup, so git should not be used there.)

Atom 1.23.3
Windows 10

@rugk
Copy link
Author

rugk commented Jan 22, 2018

However, this eror also appeared before I installed the rust source and racer.

I think the bigger issue is this (also onyl in dev tools):

Uncaught (in promise) Error: Command failed: C:\Users\...\.cargo\bin\rustup.exe component add rls --toolchain nightly
error: toolchain 'nightly-x86_64-pc-windows-msvc' does not contain component 'rls' for target 'x86_64-pc-windows-msvc'


    at ChildProcess.exithandler (child_process.js:223)
    at emitTwo (events.js:106)
    at ChildProcess.emit (events.js:191)
    at maybeClose (internal/child_process.js:885)
    at Socket.<anonymous> (internal/child_process.js:334)
    at emitOne (events.js:96)
    at Socket.emit (events.js:188)
    at Pipe._handle.close [as _onclose] (net.js:501)

(BTW, I don't know why it is trying to use the nightly, I have installed both, but I'd be fine with the stable.)

MAnually executing the command there also fails (the stuff is installed for stable, though):

$ rustup component add --toolchain nightly rls-preview
error: toolchain 'nightly-x86_64-pc-windows-msvc' does not contain component 'rls-preview' for target 'x86_64-pc-windows-msvc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant