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

Critical dependency: the request of a dependency is an expression #3

Open
felixchristo opened this issue Jun 14, 2021 · 3 comments
Open

Comments

@felixchristo
Copy link

I am getting warning Critical dependency: the request of a dependency is an expression in ng serve, but its working fine. But I am getting same while doing ng build --prod and build is getting failed. Any solution ?
Capture

@ullalaaron
Copy link
Owner

Which version of peerjs are you using?

@felixchristo
Copy link
Author

felixchristo commented Jun 15, 2021

{ "name": "webrtc", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "~9.0.3", "@angular/cdk": "^9.2.4", "@angular/common": "~9.0.3", "@angular/compiler": "~9.0.3", "@angular/core": "~9.0.3", "@angular/forms": "~9.0.3", "@angular/material": "^9.2.4", "@angular/platform-browser": "~9.0.3", "@angular/platform-browser-dynamic": "~9.0.3", "@angular/router": "~9.0.3", "peerjs": "^1.3.1", "rxjs": "~6.5.4", "tslib": "^1.10.0", "uuid": "^8.3.2", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.900.4", "@angular/cli": "~9.0.4", "@angular/compiler-cli": "~9.0.3", "@angular/language-service": "~9.0.3", "@types/node": "^12.11.1", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "codelyzer": "^5.1.2", "jasmine-core": "~3.5.0", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~2.1.0", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.2", "protractor": "~5.4.3", "ts-node": "~8.3.0", "tslint": "~5.18.0", "typescript": "~3.7.5" } }

I also tried updating to peerjs 1.3.2. Still getting the same issue..

@assim-fayas
Copy link

i also facing the same issue . Any solution? @ullalaaron

my version is "peerjs": "^1.3.1",

./node_modules/peerjs/dist/peerjs.min.js:11:46-50 - Warning: Critical dependency: the request of a dependency is an expression

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

No branches or pull requests

3 participants