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
Did you run the analyzer with the --dev flag to get more information?
Did you create a minimal reproduction in the playground?
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
Error:
[my-plugin]: Looks like you've hit an error in third party plugin: my-plugin. Please try to create a minimal reproduction and inform the author of the my-plugin plugin.
TypeError: Cannot read properties of undefined (reading 'text')
at TokenOrIdentifierObject.getText (/Users/I351230/work/ui5-webcomponents/node_modules/@custom-elements-manifest/analyzer/node_modules/typescript/lib/typescript.js:152835:31)
For some reason I'm not able to save the playground link but this is the code:
functionmyPlugin(){// Write a custom pluginreturn{// Make sure to always give your plugins a name, this helps when debuggingname: 'my-plugin',// Runs for all modules in a project, before continuing to the analyzePhasecollectPhase({ts, node, context}){},// Runs for each moduleanalyzePhase({ts, node, moduleDoc, context}){if(node?.kind===ts?.SyntaxKind?.ClassDeclaration){console.log(node?.members?.[0]?.jsDoc?.[0]?.tags?.[0]?.tagName?.getText?.())// Expecting here to be override}},// Runs for each module, after analyzing, all information about your module should now be availablemoduleLinkPhase({moduleDoc, context}){},// Runs after modules have been parsed and after post-processingpackageLinkPhase({customElementsManifest, context}){},}}
Expected behavior
Analyzing the Override jsdoc tag to not throw error
The text was updated successfully, but these errors were encountered:
Unable to reproduce this in the playground, closing. Please feel free to reopen if you're still running into this issue with the latest version of the analyzer
Checklist
--dev
flag to get more information?For some reason I'm not able to save the playground link but this is the code:
Expected behavior
Analyzing the Override jsdoc tag to not throw error
The text was updated successfully, but these errors were encountered: