GithubHelp home page GithubHelp logo

Comments (7)

basst314 avatar basst314 commented on July 27, 2024

Hi @phil123456
Can you give some more details about the issues youβ€˜re experiencing?
Thanks

from ngx-webcam.

phil123456 avatar phil123456 commented on July 27, 2024

something weird

I install the package, then it complains about 32 vulnerabilities
I do an audit fix, there are like 12 vulnerabilities remaining then not possible to start the application anymore

some weird error :

Data path ".builders['app-shell']" should have required property 'class'.

the only solution I found online was to recreate the angular project with angular CLI

yet even doing so, I have 3 unsolved vulnerabilities, someone made crapy updates I guess

regards

from ngx-webcam.

phil123456 avatar phil123456 commented on July 27, 2024

I made a new project from scratch

ng new webcam-test
? Would you like to add Angular routing? No
? Which stylesheet format would you like to use? SASS   [ http://sass-lang.com   ]
...
found 3 vulnerabilities (2 low, 1 high)
...
npm audit fix
2 package updates for 2 vulns involved breaking changes

Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
    at MergeMapSubscriber._registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\@angular-devkit\core\src\workspace\worksp
ace.js:215:42)
    at MergeMapSubscriber._tryNext (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\operators\mergeMap.js:69:27)
    at MergeMapSubscriber._next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\operators\mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MergeMapSubscriber.notifyNext (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\operators\mergeMap.js:92:26)
    at InnerSubscriber._next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
    at InnerSubscriber.Subscriber.next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\Subscriber.js:67:18)
    at MapSubscriber._next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\operators\map.js:55:26)
    at MapSubscriber.Subscriber.next (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\Subscriber.js:67:18)
    at SwitchMapSubscriber.notifyNext (Z:\WORK\ELECTRONICS\PartsManager\webcam-test\node_modules\rxjs\internal\operators\switchMap.js:86:26)

I suggest not doing the audit fix, it works that way

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

But the vulnerabilities show up before you even add the ngx-webcam lib, right?

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

What angular versions are you using?

from ngx-webcam.

phil123456 avatar phil123456 commented on July 27, 2024

yep it appears to be an angular problem , not ngx-webcam, I could make everything work fine


{
...
  "private": true,
  "dependencies": {
    "@angular/animations": "~7.1.0",
    "@angular/common": "~7.1.0",
    "@angular/compiler": "~7.1.0",
    "@angular/core": "~7.1.0",
    "@angular/forms": "~7.1.0",
    "@angular/http": "^7.2.15",
    "@angular/platform-browser": "~7.1.0",
    "@angular/platform-browser-dynamic": "~7.1.0",
    "@angular/router": "~7.1.0",
    "core-js": "^2.5.4",
    "ngx-webcam": "^0.2.5",
    "rxjs": "~6.3.3",
    "rxjs-compat": "^6.5.2",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.11.0",
    "@angular/cli": "~7.1.0",
    "@angular/compiler-cli": "~7.1.0",
    "@angular/language-service": "~7.1.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.1.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.6"
  }
}

from ngx-webcam.

basst314 avatar basst314 commented on July 27, 2024

Okay, thanks. I will resolve this issue then.

from ngx-webcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.