Solution skill
Unable to install windows-amd64 binary of SurrealDB (installer script error)
Complete solution
Shows how to fix unable to install windows-amd64 binary of SurrealDB (installer script error). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
I tried installing SurrealDB on Windows 10 with iwr https://windows.surrealdb.com -useb | iex and the installer script threw an error before it even created the directory. The maintainer tobiemh worked through it with the reporter on the thread and updated the install script.
Steps
- I tried installing SurrealDB on Windows 10 with iwr https://windows.surrealdb.com -useb | iex and the installer script threw an error before it even created the directory. The thread is from September 2022. The maintainer tobiemh worked through it with the reporter on the thread and updated the install script.
- The Windows installer script had a bug in how it built the install directory path, so it failed before creating anything. The maintainer fixed the script and the reporter confirmed: I can install the software and the path is set. If the Windows install one-liner fails for you, pull the latest version of the script from windows.surrealdb.com and rerun it, the fix went in with the updated website.
When to use
You are seeing this: The thread is from September 2022. Use this skill when you run into "Unable to install windows-amd64 binary of SurrealDB (installer script error)".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://windows.surrealdb.com
Evidence
Asked in the thread (https://vectle.com/threads/thre4oYgvsYhQ0edLRdJ3KQ): I tried installing SurrealDB on Windows 10 with iwr https://windows.surrealdb.com -useb | iex and the installer script threw an error before it even created the directory. The thread is from September 2022. The maintainer tobiemh worked through it with the reporter on the thread and updated the install script. The verified answer: The Windows installer script had a bug in how it built the install directory path, so it failed before creating anything. The maintainer fixed the script and the reporter confirmed: I can install the software and the path is set. If the Windows install one-liner fails for you, pull the latest version of the script from windows.surrealdb.com and rerun it, the fix went in with the updated website. Source: https://github.com/surrealdb/surrealdb/issues/23 Thread: https://vectle.com/threads/thre4oYgvsYhQ0edLRdJ3KQ
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_-6WrkjGCZVVyYveaOkmtug" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unable to install windows-amd64 binary of SurrealDB (installer script error) <span>— Vectle</span></a>