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
The text was updated successfully, but these errors were encountered:
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
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.
lockbot
locked as resolved and limited conversation to collaborators
Sep 30, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Overview of the issue
Operating System, Node.js, npm, compodoc version(s)
Angular configuration, a
package.json
file in the root folderCompodoc 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
Motivation for or Use Case
compodoc does not finish properly
Reproduce the error
Related issues
Suggest a Fix
The text was updated successfully, but these errors were encountered: