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

[BUG] install 17.3.12 error #1126

Open
1 of 2 tasks
muratsuzen opened this issue Feb 25, 2025 · 3 comments
Open
1 of 2 tasks

[BUG] install 17.3.12 error #1126

muratsuzen opened this issue Feb 25, 2025 · 3 comments
Assignees
Labels

Comments

@muratsuzen
Copy link

Environment

Please provide as many details as you can:

  • Hosting type
    • 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: flobi-web@0.0.0
Found: @angular/core@17.3.12
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/angular@7.5.0
  node_modules/@formio/angular
    @formio/angular@"*" from the root project
  peer @angular/core@"17.3.12" from @angular/common@17.3.12
  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/angular@7.5.0
    node_modules/@formio/angular
      @formio/angular@"*" from the root project

Could not resolve dependency:
peer @angular/core@"18.2.13" from @angular/elements@18.2.13
node_modules/@angular/elements
  peer @angular/elements@"^16.0.0 || ^17.0.0 || ^18.0.0" from @formio/angular@7.5.0
  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.
@ZenMasterJacob20011
Copy link
Contributor

Could you please provide your package.json file so that we can test this on our end

@muratsuzen
Copy link
Author

{
"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"
}
}

@ZenMasterJacob20011
Copy link
Contributor

There are some peer dependencies needed in your package.json. You need...
"ngx-bootstrap": "^12.0.0",
"@angular/elements": "^17.0.0",

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

No branches or pull requests

3 participants