inshellisense
inshellisense copied to clipboard
"load local spec failed"
Describe the bug inshellisense does not run.
To Reproduce Steps to reproduce the behavior:
- Install in the usual way and verify using
is doctor. - Using a clean PowerShell profile, run
is --verbose. - Verify inshellisense is running using
is -c. - No autocompletions are provided.
%userprofile%\.inshellisense\inshellisense.loglogs the following message:
{
"msg": "load local spec failed",
"e": "Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'",
"specPath": "C:\\Users\\<username>/.fig/autocomplete/build"
}
(With the appropriate username)
Expected behavior inshellisense runs with no errors and provides autocompletions.
Environment
- OS: Win 10
- Output of
is --version: 0.0.1-rc.20 - Nodejs Version: v22.13.0
- Shell: PowerShell
- Shell Version: 5.1, 7.4.6
Additional context
- The username contains non-ASCII characters, so the error probably has something to do with Unicode path processing.
- The
/.fig/autocomplete/buildfolder hasn't been created, and even when it's created and populated manually (from the node module) the program fails.