tiny11builder
tiny11builder copied to clipboard
Parser error with latest tiny11maker.ps1 script
Hi, I'm receiving the following errors when running the tiny11maker.ps1 script in PowerShell 5.1, execution policy set:
At H:\tiny11maker.ps1:35 char:9
-
--tab-size-preference: 4; -
~
Missing expression after unary operator '--'. At H:\tiny11maker.ps1:35 char:9
-
--tab-size-preference: 4; -
~~~~~~~~~~~~~~~~~~~~
Unexpected token 'tab-size-preference:' in expression or statement. At H:\tiny11maker.ps1:38 char:8
-
pre, code { -
~
Missing argument in parameter list. At H:\tiny11maker.ps1:39 char:23
-
tab-size: var(--tab-size-preference); -
~
Missing expression after unary operator '--'. At H:\tiny11maker.ps1:39 char:23
-
tab-size: var(--tab-size-preference); -
~~~~~~~~~~~~~~~~~~~
Unexpected token 'tab-size-preference' in expression or statement. At H:\tiny11maker.ps1:39 char:23
-
tab-size: var(--tab-size-preference); -
~
Missing closing ')' in expression. At H:\tiny11maker.ps1:38 char:15
-
pre, code { -
~
Missing closing '}' in statement block or type definition. At H:\tiny11maker.ps1:39 char:42
-
tab-size: var(--tab-size-preference); -
~
Unexpected token ')' in expression or statement. At H:\tiny11maker.ps1:40 char:5
-
} -
~
Unexpected token '}' in expression or statement. At H:\tiny11maker.ps1:52 char:60
- ... script type="application/json" id="client-env">{"locale":"en","featur ...
-
~~~~~
Unexpected token ':"en"' in expression or statement. Not all parse errors were reported. Correct the reported errors and try again. + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : MissingExpressionAfterOperator
same here
Name Value
PSVersion 5.1.22621.5909 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22621.5909 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1
I experienced the same thing. After opening the ps1 file I realized that it was actually an HTML file since I had just right clicked on the file and saved target as... Going to releases, downloading and extracting the zip file then made this work. I hope this helps.
Hi everyone, Don't download the script from the release. The script need to be download from the main page to have the latest version.
- Just clic on the tiny11maker.ps1
- Then on
download raw file.
They don't seem to have Tiny11 related issues here.