question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Error when Component Metadata was imported.

See original GitHub issue
Overview of the issue

RangeError: Invalid array length

@Component(MyAgClickableParentComponentSchema)
export class AppUserDeleteClickableComponent extends MyAgClickableParentComponent {}
export const MyAgClickableParentComponentSchema = {
    template: `
        <button (click)="clicked()">{{ name }}</button>
    `,
};
Operating System, Node.js, npm, compodoc version(s)

Node.js v6.9.1 npm 4.0.2 compodoc 0.0.37

Angular configuration, a package.json file in the root folder

https://gist.github.com/minhoryang/942c6c8bd4e0507e296d417c80dda00f

Compodoc installed globally or locally ?

locally

npm install compodoc
Motivation for or Use Case
./node_modules/.bin/compodoc -p src/tsconfig.json
Reproduce the error

https://gist.github.com/minhoryang/942c6c8bd4e0507e296d417c80dda00f includes

  • compodoc.log
  • related .ts files when RangeError: Invalid array length happened
Related issues

#11

Suggest a Fix

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vogloblinskycommented, Jan 26, 2017

Ok reproduced.

The MyAgClickableParentComponentSchema break the parsing. Will try to resolve that asap.

0reactions
lock[bot]commented, Sep 30, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug(compiler-cli): metadata resolution error when generating ...
bug (compiler-cli): metadata resolution error when generating flat module with reference ... In app.module.ts , import HelloComponent from app/components.ts ...
Read more >
Bug: Import Metadata tool crashes when ... - Esri Support
The Import Metadata tool crashes if the metadata XML file does not exist for the map document (mxd) that the metadata is to...
Read more >
Troubleshooting import failures during connector imports ... - IBM
When you import huge amount of metadata by using connectors in InfoSphere Metadata Asset Manager, imports can fail with "session time out" or...
Read more >
I have a problem with components in angular [closed]
error message: (alias) const Component: ComponentDecorator import Component Supplies configuration metadata for an Angular component.
Read more >
Resolving Schematic Errors | Learn Altium Designer
This error is due to the use of an outdated component in your project. It usually happens when the schematic was developed some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found