Bug Report
I tried to follow the instructions from a-basic-example yet it's not working for me.
Current Behavior
When trying to do scoop install hello I get a couple of warnings:
WARN Error parsing JSON at C:\Users\REDACTED\source\repos\scoop-hello\hello.json.
WARN Bucket 'C:\Users\REDACTED\source\repos\scoop-hello\hello.json' not installed. Add it with 'scoop bucket add C:\Users\REDACTED\source\repos\scoop-hello\hello.json' or 'scoop bucket add C:\Users\REDACTED\source\repos\scoop-hello\hello.json <repo>'.
Couldn't find manifest for 'hello' from 'C:\Users\REDACTED\source\repos\scoop-hello\hello.json' bucket.
Expected Behavior
The 'hello' app is installed.
Additional context/output
As I was writing this issue I found out what is/was causing the problem it was the encoding of hello.json file, when doing
'{ "version": "1.0", "url": "https://gist.github.com/lukesampson/6446238/raw/hello.ps1", "bin": "hello.ps1" }' > hello.json the result hello.json files has encoding UTF-16 LE, as reported by VSCode. After saving the same file with UTF-8 then it works as expected. My question is now it UTF-8 the only supported encoding?
Possible Solution
System details
Windows version: [e.g. 7, 8, 10, 11]
Windows 10
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
Major Minor Build Revision
----- ----- ----- --------
5 1 19041 3570
Additional software: [(optional) e.g. ConEmu, Git]
Windows Terminal 1.18.2822.0
git version 2.42.0.windows.2
Scoop Configuration
{
"last_update": "2023-11-07T13:13:41.1231860-07:00",
"scoop_branch": "master",
"scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}
Bug Report
I tried to follow the instructions from a-basic-example yet it's not working for me.
Current Behavior
When trying to do
scoop install helloI get a couple of warnings:Expected Behavior
The 'hello' app is installed.
Additional context/output
As I was writing this issue I found out what is/was causing the problem it was the encoding of hello.json file, when doing
'{ "version": "1.0", "url": "https://gist.github.com/lukesampson/6446238/raw/hello.ps1", "bin": "hello.ps1" }' > hello.jsonthe result hello.json files has encoding UTF-16 LE, as reported by VSCode. After saving the same file with UTF-8 then it works as expected. My question is now it UTF-8 the only supported encoding?Possible Solution
System details
Windows version: [e.g. 7, 8, 10, 11]
Windows 10
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"]Additional software: [(optional) e.g. ConEmu, Git]
Windows Terminal 1.18.2822.0
git version 2.42.0.windows.2
Scoop Configuration
{ "last_update": "2023-11-07T13:13:41.1231860-07:00", "scoop_branch": "master", "scoop_repo": "https://github.com/ScoopInstaller/Scoop" }