hpi-sam / digital-fuesim-manv

A German simulation system for training emergency medical services leadership personnel on how to manage Mass Casualty Incidents.
https://fuesim-manv.de/
GNU Affero General Public License v3.0
16 stars 8 forks source link

Fix/1032 fix permission rights in radiogram.ts and simulated region.ts #1033

Open anonym-HPI opened 1 year ago

anonym-HPI commented 1 year ago

PR Checklist

Please make sure to fulfil the following conditions before marking this PR ready for review:

anonym-HPI commented 1 year ago

Dependency fails, as npm audit gives security issues, npm audit fix didn't result all of them and in frontend npm audit fix fails with this error:

# npm resolution error report

While resolving: digital-fuesim-manv-frontend@0.7.0
Found: @angular/compiler@15.1.5
node_modules/@angular/compiler
  @angular/compiler@"~15.1.0" from the root project

Could not resolve dependency:
peer @angular/compiler@"15.2.9" from @angular/localize@15.2.9
node_modules/@angular/localize
  peer @angular/localize@"^15.0.0" from @ng-bootstrap/ng-bootstrap@14.2.0
  node_modules/@ng-bootstrap/ng-bootstrap
    @ng-bootstrap/ng-bootstrap@"^14.0.1" 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.

@Dassderdie Could you help fix these dependency issues? Haven't used npm audit fix --force and nyc@6.6.1 seems to be the version from the year 2016, instead of the newest version 15.1.0 from 2020 (https://www.npmjs.com/package/nyc)