VSCdoe Error: TypeError: Cannot set properties of undefined (setting 'summary')

The engine is not working as expected? Documentation is wrong or out of date? Let us know here!
Forum rules
We are not providing support via this forum; it's community-driven. For official support see https://naninovel.com/support/#naninovel-support
Post Reply
Skyhand
Posts: 4
Joined: 17 Jan 2022 06:50

VSCdoe Error: TypeError: Cannot set properties of undefined (setting 'summary')

Post by Skyhand »

VSCode for Windows uses the latest 1.19 to report errors, and Naninovel and plug-ins are both up to date. The error message is as follows (there is no problem with Mac):

2024-01-08 11:59:08.129 [info] Extension host started
2024-01-08 11:59:08.150 [info] ExtensionService#_doActivateExtension Elringus.naninovel, startup: false, activationEvent: 'onLanguage:naniscript'
2024-01-08 11:59:08.929 [error] Activating extension Elringus.naninovel failed due to an error:
2024-01-08 11:59:08.929 [error] TypeError: Cannot set properties of undefined (setting 'summary')
at mergeOverriddenParams (file:///c:/Users/Administrator/.vscode/extensions/elringus.naninovel-1.9.0/dist/extension.js#vscode-extension:28670:28)
at mergeOverriddenCommand (file:///c:/Users/Administrator/.vscode/extensions/elringus.naninovel-1.9.0/dist/extension.js#vscode-extension:28664:27)
at mergeCommands (file:///c:/Users/Administrator/.vscode/extensions/elringus.naninovel-1.9.0/dist/extension.js#vscode-extension:28656:22)
at mergeKey (file:///c:/Users/Administrator/.vscode/extensions/elringus.naninovel-1.9.0/dist/extension.js#vscode-extension:28643:26)
at mergeObject (file:///c:/Users/Administrator/.vscode/extensions/elringus.naninovel-1.9.0/dist/extension.js#vscode-extension:28636:7)

Skyhand
Posts: 4
Joined: 17 Jan 2022 06:50

Re: VSCdoe Error: TypeError: Cannot set properties of undefined (setting 'summary')

Post by Skyhand »

Purge metadata cache in VS Code by pressing Ctrl+Shift+P (opens command palette) and selecting Naninovel: Purge cached metadata and restart VS Code;

Skyhand
Posts: 4
Joined: 17 Jan 2022 06:50

Re: VSCdoe Error: TypeError: Cannot set properties of undefined (setting 'summary')

Post by Skyhand »

It's just a record, I hope everyone can solve it too

Post Reply