You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/.../node_modules/.pnpm/[email protected]/node_modules/vdf-parser/main.js:114
throw new SyntaxError("VDF.parse: invalid syntax on line " + (i+1) + ":\n" + line);
^
SyntaxError: VDF.parse: invalid syntax on line 1:
shortcuts0appid�B��AppNameMO2 -SkyrimExe"/<path-here>/steamapps/compatdata/489830/pfx/drive_c/Modding/MO2/ModOrganizer.exe"StartDir
at Object.parse (/.../node_modules/.pnpm/[email protected]/node_modules/vdf-parser/main.js:114:23)
at [stdin]:1:23
at Script.runInThisContext (node:vm:129:12)
at Object.runInThisContext (node:vm:307:38)
at node:internal/process/execution:79:19
at [stdin]-wrapper:6:22
at evalScript (node:internal/process/execution:78:60)
at node:internal/main/eval_stdin:30:5
at Socket.<anonymous> (node:internal/process/execution:195:5)
at Socket.emit (node:events:525:35)
Node.js v18.16.0
Additional info
The encoding is listed as data for this file. None of the available encodings in fs.readFileSync alter the behavior.
I have not manually modified this file other than the intended use of adding a non-steam game via the steam app.
Copy-pasting the file content into a string does not work due to octal sequences, escaping them returns to the initial error.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Command (replace
<your-id-here>
with your id):As JS file:
Output:
Additional info
The encoding is listed as
data
for this file. None of the available encodings infs.readFileSync
alter the behavior.I have not manually modified this file other than the intended use of adding a non-steam game via the steam app.
Copy-pasting the file content into a string does not work due to octal sequences, escaping them returns to the initial error.
The text was updated successfully, but these errors were encountered: