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

ERROR in Cannot read property 'fileName' of null #33

Open
geeksilva97 opened this issue Sep 4, 2020 · 2 comments
Open

ERROR in Cannot read property 'fileName' of null #33

geeksilva97 opened this issue Sep 4, 2020 · 2 comments

Comments

@geeksilva97
Copy link

Hi. Thanks for this great lib.
I haven't used it yet but I know that it will help me a lot.

So I installed using the command ng add ngx-ssrs-reportviewer. And I imported on app.module.ts following the instructions. But when run ng serve I'm getting the error:

ERROR in Cannot read property 'fileName' of null

print

@geeksilva97
Copy link
Author

Is this a problem with version? Follow the configs of my project


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 9.0.6
Node: 10.15.1
OS: win32 x64

Angular: 9.0.6
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.6
@angular-devkit/build-angular     0.900.6
@angular-devkit/build-optimizer   0.900.6
@angular-devkit/build-webpack     0.900.6
@angular-devkit/core              9.0.6
@angular-devkit/schematics        9.0.6
@angular/cdk                      9.1.2
@angular/http                     4.4.7
@angular/material                 9.1.2
@ngtools/webpack                  9.0.6
@schematics/angular               9.0.6
@schematics/update                0.900.6
rxjs                              6.5.4
typescript                        3.7.5
webpack                           4.41.2

@brucremo
Copy link

Hi @geeksilva97! I had the same problem and solved it doing the following:

  1. Remove the package from package.json
  2. Run npm install to update your dependencies
  3. Reinstall the package

I am honestly not sure as to why it happens but simply doing this solved for me.

Hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants