-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] Creating an app manifest #5718
Comments
I'm having the same issue, the message also shows when " scoop search xxxx". Similar system, same architecture, win10 |
See also:
No, but Scoop expects input to be UTF-8 encoded. https://github.com/ScoopInstaller/Scoop/blob/master/.editorconfig
Added buckets contain incorrect manifests. |
Scoop expects input to be UTF8 encoded without BOM. Powershell before version 7 create by default UTF-16 LE with BOM, so the tutorial breaks for these with this error message:
The command
as instructed on the wiki page does not work, it requires the absolute or relative path of the json manifest, e.g.:
would be nice to have a smooth experience in the hello world example to attract more contributors to this magnificent ecosystem! |
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: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)"
]Additional software: [(optional) e.g. ConEmu, Git]
Windows Terminal 1.18.2822.0
git version 2.42.0.windows.2
Scoop Configuration
The text was updated successfully, but these errors were encountered: