My testing-app is compiling fine, except that I get this warning:
" Critical dependency: the request of a dependency is an expression"
(base) marco@pc01:~/webMatters/vueMatters/PeerJS-VueJS-Test$ npm run serve
> [email protected] serve /home/marco/webMatters/vueMatters/PeerJS-VueJS-Test
> vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
WARNING Compiled with 1 warnings
7:22:25 PM
warning in ./node_modules/peerjs/dist/peerjs.min.js
Critical dependency: the request of a dependency is an expression
App running at:
- Local: http://localhost:8080
- Network: http://ggc.world/
Note that the development build is not optimized.
To create a production build, run npm run build.
This is webpack.config.js :
{
"mode": "development",
"output": {
"path": __dirname+'/static',
"filename": "[name].[chunkhash:8].js"
},
"module": {
"rules": [
{
"test": /\.vue$/,
"exclude": /node_modules/,
"use": "vue-loader"
},
{
"test": /\.pem$/,
"use": "file-loader"
}
]
},
node: {
__dirname: false,
__filename: false
},
resolve: {
extension: ['*', '.pem'],
},
devServer: {
watchOptions: {
aggregateTimeout: 300,
poll: 1000
},
https: true,
compress: true,
public: 'ggc.world:8080'
}
}
Any ideas about how to solve it?
Similar to https://github.com/peers/peerjs/issues/537
I'm also having this issue when using create-react-app with peerjs.
I am having this issue as well with both peerjs v0.3.18 and latest version.
"react": "^16.13.1"
"react-scripts": "3.4.1"
I'm also having this issue when using:
{
"peerjs": "^1.3.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
}
I'm also having this issue when using:
{ "peerjs": "^1.3.1", "webpack": "^4.43.0", "webpack-cli": "^3.3.12" }
I might be wrong, but I believe it's recommended to install webpack-cli globally and not as part of a project
@jextrevor
I might be wrong, but I believe it's recommended to install webpack-cli globally and not as part of a project
Thank you!
I'm also having this issue when using create-react-app with peerjs.
I am getting the same warning in create-react-app .. Any updates?
for some reason, I am getting peer.call(userId, selfStream);
as undefined.
please help me - the application is here. Create a room and try to join a person by copy pasting the meeting url in the address bar. Then you will see the error in console
Still getting this issue over here.
I have this issue too :pensive:
Most helpful comment
I'm also having this issue when using create-react-app with peerjs.