These are the things that stopped me, in the order I found them. Most took far longer than they should have, so check this list before you go looking elsewhere.
The package shows as Disabled and there is no toolbar button. The cause was a byte order mark (bytes EF BB BF) at the start of manifest.json and layout.json. The sim then recorded the package as communityfs20-yourname and grayed it out with no way to enable it. Removing the BOM fixed it. To check, open Content.xml (for a Store install of 2024 it's in %LOCALAPPDATA%PackagesMicrosoft.Limitless_8wekyb3d8bbweLocalCacheHuntsSilent) and look for communityfs24-yourname instead. Don't delete the whole file. Check the first bytes of your files like this:
foreach ($n in 'manifest.json','layout.json') { $b = [IO.File]::ReadAllBytes("$n")[0..2]; "$n : " + (($b | % { '{0:X2}' -f $_ }) -join ' ') }
It must not print EF BB BF. In Node, fs.writeFileSync(path, json, 'utf8') writes no BOM, as long as your string doesn't begin with the character.
fspackagetool.exe prints one line and does nothing. Attached to EXE - waiting for completion. means the sim is open. Close it. -h prints the same line, so the tool won't show you its options.
"More than one XML project path given." Older guides add -nogui or -nomirroring after the path. This version reads the flag as a second project path. Pass only the path.
The build ran, but there's no layout.json, or package_order_hint is empty. A thumbnail in a ContentInfo group that's 1920 by 1080 failed validation and stopped layout.json from being written. I removed that group. If the files still aren't there, write them by hand as in step 7. A PackageOrderHint element in the package XML breaks the build, so put the hint in manifest.json only.
Windows says the game is already running after a build. The tool started the sim, and a leftover process can stay. Restart the Gaming Services service, or reboot.
The button never appears even though the package loads. managedByToolbar="true" was missing. The sim's toolbar script creates a button only when buttonVisible and managedByToolbar are both true.
A big date value in layout.json loses digits in JavaScript. Windows file times are around 1.3e17, and a JavaScript number is only exact to about 9e15. If you build the JSON in Node, work with BigInt and write the digits straight into the string. Convert a file's modified time like this: (BigInt(mtimeMs) + 11644473600000n) * 10000n.
The panel keeps loading the wrong port. The address is a plain string in your panel's JavaScript. If your app lets the user change the port, write the new port into the installed copy of that file when you install the panel.
Where the build wrote the files. With the project XML above, the output is Packagesmy-panel next to the project file. Errors go to BuilderLogError.txt under %LOCALAPPDATA%PackagesMicrosoft.Limitless_8wekyb3d8bbweLocalCache for a Store install.
What I still haven't confirmed: typing into a text box inside the panel (the sim may capture the keyboard), and using it in VR. Test those before you promise them to anyone.