Please describe what you were doing when this error happened.
Specifications
Error
Error: spawn powershell.exe ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:19)
at onErrorNT (internal/child_process.js:429:16)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
Which version of Windows do you have? How come you don't have powershell on your system? Someone else had reported me the same, but they never replied to me afterwards... I'm really curious about people that don't have powerhell on their systems.
Anyway and just to make sure: that error does not prevent the execution of the program, right?
@hacdias , yeah. It didn't prevent execution.
Also, could you see my previous comment, please?
@hacdias ,os: windows 10, of course I have powershell. CMD is crap, so powershell is the only way to work!!
Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...
Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...
Currently I'm in Manjaro, I'm replying soon after checking my PATH.
Anyhow, just to let more information here:
ipfs to the PATH if it not exists. For that, on Windows, we use PowerShell.Is it on the PATH? I haven't been able to reproduce this on any Windows 10 machine I've tried on...
Currently I'm in Manjaro, I'm replying soon after checking my PATH.
Found it! Actually, C:\Windows\System32 is not in my PATH.
Anyhow, just to let more information here:
- By default we add
ipfsto the PATH if it not exists. For that, on Windows, we use PowerShell.- I will hide this error when it's caused by an automatic action. If the user decides to check this option on the settings and it fails, they'll get an error message. Otherwise, it will fail silently.
Idea(2) is good. It'll not gather useless bug reports.
Found it! Actually, C:\Windows\System32 is not in my PATH.
It's a bit odd not to have C:\Windows\System32 though. I don't know why that might have happened. Perhaps a corrupt PATH.
Idea(2) is good. It'll not gather useless bug reports.
That's what I'll do 馃槂
Found it! Actually, C:\Windows\System32 is not in my PATH.
It's a bit odd not to have
C:\Windows\System32though. I don't know why that might have happened. Perhaps a corrupt PATH.Idea(2) is good. It'll not gather useless bug reports.
That's what I'll do 馃槂
Mistakenly I've cleared PATH from my system a week ago. Then rewrote the path. But I didn't notice that system32 was missing from there.