Skip to content
New issue

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

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

Already on GitHub? # to your account

Please update so it works with Angular Version 8 #24

Closed
andreElrico opened this issue Jun 18, 2019 · 2 comments
Closed

Please update so it works with Angular Version 8 #24

andreElrico opened this issue Jun 18, 2019 · 2 comments

Comments

@andreElrico
Copy link

ng update @angular/cli @angular/core
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "@angular/common" (requires "^4.0.0" (extended), would install "8.0.1").
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "@angular/core" (requires "^4.0.0" (extended), would install "8.0.1").
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "@angular/compiler" (requires "^4.0.0" (extended), would install "8.0.1").
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "@angular/platform-browser" (requires "^4.0.0" (extended), would install "8.0.1").
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "zone.js" (requires "^0.8.7", would install "0.9.1").
                  Package "@gofynd/angular-json-viewer" has an incompatible peer dependency to "rxjs" (requires "^5.0.0", would install "6.5.2").
GerkinDev added a commit to GerkinDev/ngx-json-viewer that referenced this issue Nov 28, 2019
@GerkinDev
Copy link

For people needing this, I've openened a PR: #27

I've also pushed a build on GitHub for my personnal use, but that you may also use if you want:

npm install git+https://github.com/GerkinDev/ngx-json-viewer.git#release

@totszwai
Copy link

totszwai commented Apr 7, 2020

I am using Angular7... and using the original or @GerkinDev's
I am getting the following error:

Uncaught ReferenceError: global is not defined

Added the following to my polyfills.ts:
(window as any).global = window;

But still get the following error:

Can't bind to 'json' since it isn't a known property of 'ngx-json-viewer'.

@hivivo hivivo closed this as completed Jan 8, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants