-
Bug
-
Resolution: Duplicate
-
Neutral
-
None
-
1.1.2
-
None
When using npm install with npm 7+ you got an error. Works with npm 6, since it treats is not as errors, just as warnings. so only Angular 10 will work.
npm ERR! Found: @angular/common@13.0.2 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"~13.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"^10.2.4" from @magnolia/angular-editor@1.1.2 npm ERR! node_modules/@magnolia/angular-editor npm ERR! @magnolia/angular-editor@"1.1.2" from the root project
"peerDependencies": { "@angular/common": "^10.2.4", "@angular/core": "^10.2.4" }
needs to be changed to ">=10.2.4".
"peerDependencies": { "@angular/common": ">=10.2.4", "@angular/core": ">=10.2.4" }
Acceptance criteria
- is duplicated by
-
MGNLFE-148 Can not install 1.1.2 angular-editor with project created Angular 12
- Closed