schema-based-json-editor
schema-based-json-editor copied to clipboard
angular/core conflict
Version(if relevant): 1.0.0
"@angular/core": "^4.0.0"
Environment(if relevant):
Code(if relevant):
// code here
Expected:
Actual:
Unexpected value 'JSONEditorModule' imported by the module 'AppModule'. Please add a @NgModule annotation. My application uses angular 4, and I want to import this library to my application, but it doesn't work, I think it's because this library uses angular 5, is there any solutions?
Can you confirm v7.11.1 works with angular@4?
It seems not
I found the Error: Metadata version mismatch for module *** schema-based-json-editor/dist/index.d.ts, found version 4, expected 3
, I don't have any motivation to release another angular@4 comparable version.
you can:
- update your app to angular@5
- fork the code, and change every
@angular/*
to v4, then release to your own npm package