[BUG] install 17.3.12 error
Environment
Please provide as many details as you can:
- Hosting type
- [x] Form.io
- [ ] Local deployment
- Version:
- Formio.js version:
- Frontend framework:
- Browser:
- Browser version:
Steps to Reproduce
Expected behavior
Observed behavior
Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.
For code or form JSON, please enclose in a code block:
'Log files:
C:\Users\msuzen\AppData\Local\npm-cache\_logs\2025-02-25T19_40_58_734Z-debug-0.log
# npm resolution error report
While resolving: [email protected]
Found: @angular/[email protected]
node_modules/@angular/core
@angular/core@"^17.3.12" from the root project
peer @angular/core@"^16.0.0 || ^17.0.0 || ^18.0.0" from @formio/[email protected]
node_modules/@formio/angular
@formio/angular@"*" from the root project
peer @angular/core@"17.3.12" from @angular/[email protected]
node_modules/@angular/common
@angular/common@"^17.3.12" from the root project
peer @angular/common@"^16.0.0 || ^17.0.0 || ^18.0.0" from @formio/[email protected]
node_modules/@formio/angular
@formio/angular@"*" from the root project
Could not resolve dependency:
peer @angular/core@"18.2.13" from @angular/[email protected]
node_modules/@angular/elements
peer @angular/elements@"^16.0.0 || ^17.0.0 || ^18.0.0" from @formio/[email protected]
node_modules/@formio/angular
@formio/angular@"*" from the root project
Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Could you please provide your package.json file so that we can test this on our end
{ "name": "flobi-web", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" }, "private": true, "dependencies": { "@angular/animations": "^17.3.12", "@angular/common": "^17.3.12", "@angular/compiler": "^17.3.12", "@angular/core": "^17.3.12", "@angular/forms": "^17.3.12", "@angular/platform-browser": "^17.3.12", "@angular/platform-browser-dynamic": "^17.3.12", "@angular/router": "^17.3.12", "@devexpress/analytics-core": "^23.2.3", "@formio/angular": "^7.5.0", "bootstrap": "^5.3.3", "crypto-js": "^4.2.0", "devexpress-reporting-angular": "^23.2.3", "devexpress-richedit": "^23.2.3", "devextreme": "^23.2.3", "devextreme-angular": "^23.2.3", "rxjs": "~7.8.0", "sweetalert2": "^11.14.5", "tslib": "^2.3.0", "xml2js": "^0.6.2", "zone.js": "^0.14.0" }, "devDependencies": { "@angular-devkit/build-angular": "^17.3.10", "@angular/cli": "^17.3.10", "@angular/compiler-cli": "^17.3.12", "@types/crypto-js": "^4.2.2", "@types/jasmine": "~5.1.0", "@types/xml2js": "^0.4.14", "devextreme-cli": "latest", "devextreme-themebuilder": "^23.2.3", "jasmine-core": "~5.3.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "typescript": "^5.4.5" } }
There are some peer dependencies needed in your package.json. You need... "ngx-bootstrap": "^12.0.0", "@angular/elements": "^17.0.0",