Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] compodoc breaks when rxjs-spy code is present in main.ts angular 6 project #677

Closed
knowledgeram opened this issue Oct 19, 2018 · 1 comment

Comments

@knowledgeram
Copy link

Overview of the issue
Operating System, Node.js, npm, compodoc version(s)
Angular configuration, a package.json file in the root folder
Compodoc installed globally or locally ?

globally

compodoc breaks when main.ts file contains references to rxjsspy

If possible sourcecode of the file where it breaks

import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import {create} from 'rxjs-spy';

if (environment.production) {
enableProdMode();
}

// uncommenting below lines breaks the document generation
//if (environment.rxjsSpy) {
// const spy = create();
// window['spy'] = spy;
//} else {
// window['rxSpyCreate'] = create;
//}

platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.log(err));

If possible your terminal logs before the error

image

Motivation for or Use Case

compodoc does not finish properly

Reproduce the error
Related issues
Suggest a Fix
@vogloblinsky vogloblinsky changed the title compodoc breaks when rxjsspy code is present in main.ts angular 6 project [BUG] compodoc breaks when rxjs-spy code is present in main.ts angular 6 project Oct 20, 2018
@vogloblinsky vogloblinsky added this to the 1.1.6 milestone Oct 20, 2018
@lock
Copy link

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.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants