Closed BlakeEram closed 6 years ago
Maybe it has something to do with your modifications. Did you make some changes in the package.json file?
I did not make any changes other than adding dependencies added for the application, but it did it automatically. "webpack:///../strophe.js/strophe.js" based on the error, it is something to do with this line.
Do you have strophe dependencies?
I did not add any but there is dependency in Jitsi-meet for strophe
Yep, we have seen strophe to act like that, but it was fixed in the latest master of jitsi-meet and lib-jitsi-meet. To fix it, add to the package.json dependencies list of your jitsi-meet the following entries: "strophe.js": "1.2.15", "strophejs-plugin-disco": "0.0.2",
It is already in there
vmadmin@cmi:/usr/share/m-health-$ sudo cat package.json
{
"name": "jitsi-meet",
"version": "0.0.0",
"description": "A sample app for the Jitsi Videobridge",
"repository": {
"type": "git",
"url": "git://github.com/jitsi/jitsi-meet"
},
"keywords": [
"jingle",
"webrtc",
"xmpp",
"browser"
],
"author": "",
"readmeFilename": "README.md",
"dependencies": {
"@atlaskit/avatar": "8.0.5",
"@atlaskit/button": "5.4.2",
"@atlaskit/dropdown-menu": "3.10.2",
"@atlaskit/droplist": "4.11.1",
"@atlaskit/field-text": "4.0.1",
"@atlaskit/field-text-area": "1.2.0",
"@atlaskit/flag": "6.1.0",
"@atlaskit/icon": "10.0.0",
"@atlaskit/inline-dialog": "5.3.0",
"@atlaskit/inline-message": "4.0.0",
"@atlaskit/layer-manager": "2.8.0",
"@atlaskit/lozenge": "3.4.2",
"@atlaskit/modal-dialog": "3.4.0",
"@atlaskit/multi-select": "7.1.3",
"@atlaskit/spinner": "4.0.0",
"@atlaskit/tabs": "4.0.1",
"@atlaskit/theme": "2.4.0",
"@atlaskit/tooltip": "7.0.0",
"autosize": "1.18.13",
"es6-iterator": "2.0.3",
"es6-symbol": "3.1.1",
"file-saver": "^1.3.8",
"html-screen-capture-js": "^1.0.7",
"i18next": "8.4.3",
"i18next-browser-languagedetector": "2.0.0",
"i18next-xhr-backend": "1.4.2",
"jQuery-Impromptu": "github:trentrichardson/jQuery-Impromptu#v6.0.0",
"jitsi-meet-logger": "github:jitsi/jitsi-meet-logger#6fff754a77a56ab52499f3559105a15886942a1e",
"jquery": "3.3.1",
"jquery-contextmenu": "2.4.5",
"jquery-i18next": "1.2.0",
"js-md5": "0.6.1",
"jszip": "^3.1.5",
"jwt-decode": "2.2.0",
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#39eea17e7e2f8ff4cc273239a6e73f2a149b96e2",
"lodash": "^4.17.10",
"moment": "2.19.4",
"postis": "2.2.0",
"prop-types": "15.6.0",
"react": "16.2.0",
"react-dom": "^16.2.0",
"react-i18next": "4.8.0",
"react-native": "^0.55.4",
"react-native-background-timer": "2.0.0",
"react-native-calendar-events": "1.4.3",
"react-native-callstats": "3.27.0",
"react-native-fetch-blob": "github:flatfox-ag/react-native-fetch-blob#exception_fixes",
"react-native-img-cache": "1.5.2",
"react-native-immersive": "1.1.0",
"react-native-keep-awake": "2.0.6",
"react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc",
"react-native-prompt": "1.0.0",
"react-native-sound": "0.10.9",
"react-native-vector-icons": "4.4.2",
"react-native-webrtc": "github:jitsi/react-native-webrtc#84aee6693195c5be6b6f5f794a1e52dc7913fb3b",
"react-redux": "5.0.6",
"react-webcam": "^0.5.0",
"recordrtc": "^5.4.6",
"redux": "3.7.2",
"redux-thunk": "2.2.0",
"strophe-plugins": "^0.1.3",
"strophe.js": "^1.2.15",
"strophejs-plugin-disco": "0.0.2",
"styled-components": "1.4.6",
"url-polyfill": "github:github/url-polyfill#39734186de44612bc5a16eb25f5407adcc5b2e7c",
"uuid": "3.1.0",
"videojs": "^1.0.0",
"videojs-record": "^2.2.0",
"videojs-wavesurfer": "^2.3.2",
"wavesurfer": "^1.3.4",
"webrtc-adapter": "^6.1.5",
"xmldom": "0.1.27"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "8.0.3",
"babel-loader": "7.1.2",
"babel-polyfill": "6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"clean-css": "3.4.25",
"css-loader": "0.28.7",
"eslint": "^4.19.1",
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#v0.1",
"eslint-plugin-flowtype": "2.39.1",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsdoc": "3.2.0",
"eslint-plugin-react": "7.5.1",
"eslint-plugin-react-native": "3.2.0",
"expose-loader": "0.7.4",
"file-loader": "1.1.5",
"flow-bin": "0.57.3",
"imports-loader": "0.7.1",
"node-sass": "^4.9.0",
"precommit-hook": "3.0.0",
"string-replace-loader": "1.3.0",
"style-loader": "0.19.0",
"uglifyjs-webpack-plugin": "1.2.2",
"webpack": "3.9.1",
"webpack-dev-server": "^3.1.4",
"whatwg-fetch": "2.0.3"
},
"engines": {
"node": ">=6.0.0"
},
"license": "Apache-2.0",
"scripts": {
"lint": "eslint . && flow",
"validate": "npm ls"
},
"pre-commit": [
"lint"
],
"browser": {
"autosize": "./node_modules/autosize/build/jquery.autosize.js",
"jQuery-Impromptu": "jQuery-Impromptu/src/jquery-impromptu.js"
}
}
any other fixes I could try, it does work when i use the dev-server
Error I receive in chrome/firefox
Logger.js:125 [react/features/base/connection/actions.web.js] <>: Error: Missing strophe-plugins (disco plugin is required)!
at new t (Caps.js:45)
at new t (xmpp.js:65)
at new r (JitsiConnection.js:24)
at r (connection.js:81)
at t.a (connection.js:174)
at conference.js:145
at Object.createInitialLocalTracksAndConnect (conference.js:155)
at conference.js:726
https://github.com/jitsi/jitsi-meet/blob/master/package.json Doesn't have strophe. So not sure why you have it, then remove it. It should come only from lib-jitst-meet.
We need to add it only when we were using a strophe fork. But with latest we don't need the definition of strophe in jitsi-meet
if i dont have it in my package.json i get his
npm WARN strophejs-plugin-disco@0.0.2 requires a peer of strophe.js@^1.2.12 but none was installed.
is this fine?
I don't remember whether I have seen or not this warning. Is it working? You can always make a clean clone from jitsi-meet master and check whether you see it there.
currently this is my issue
vmadmin@cmi:~/m-health-$ sudo npm install
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b 1.2.14-1 git://github.com/jitsi/strophejs.git /home/vmadmin/.npm/_cacache/tmp/git-clone-6532e18a
npm ERR! /home/vmadmin/.npm/_cacache/tmp/git-clone-6532e18a/.git: Permission denied
npm ERR!
currently if you go to https://cmi.fast.sheridanc.on.ca/, jisti-meet (not my custom one) is working. it always seems to be a problem when installing my application
Some local file permissions ... I don't know ... And this thing github.com/jitsi/strophejs.git 1.2.14-1 seems strange, it should not be used latest jitsi-meet no longer uses the fork it uses latest strophejs version. I have the impression you are using mismatched versions of jitsi-meet and lib-jitsi-meet or something like that. Try first clean clone from master of jitsi-meet and make it work that way, than you can start adding your stuff over it and see where it breaks
when i run npm install, i do not get that error. when i run sudo npm install, i do
These are my steps to getting a new updated Jitsi-meet
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
sudo apt-get -y update
sudo apt-get -y install jitsi-meet
I get an error if i dont leave strophe in my package.json
vmadmin@cmi:~/m-health-$ npm install
> git-validate@2.2.2 install /home/vmadmin/m-health-/node_modules/git-validate
> node bin/install
> node-sass@4.8.3 install /home/vmadmin/m-health-/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node":
HTTP error 404 Not Found
Hint: If github.com is not accessible in your location
try setting a proxy via HTTP_PROXY, e.g.
export HTTP_PROXY=http://example.com:1234
or configure npm proxy via
npm config set proxy http://example.com:8080
> precommit-hook@3.0.0 install /home/vmadmin/m-health-/node_modules/precommit-hook
> node bin/install
> uglifyjs-webpack-plugin@0.4.6 postinstall /home/vmadmin/m-health-/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js
> lib-jitsi-meet@github:jitsi/lib-jitsi-meet#39eea17e7e2f8ff4cc273239a6e73f2a149b96e2 postinstall /home/vmadmin/m-health-/node_modules/lib-jitsi-meet
> webpack -p
Hash: 78d8a705ad1ed0bdd232
Version: webpack 3.9.1
Child
Hash: 78d8a705ad1ed0bdd232
Time: 60597ms
Asset Size Chunks Chunk Names
lib-jitsi-meet.min.js 949 kB 0 [emitted] [big] lib-jitsi-meet
lib-jitsi-meet.min.js.LICENSE 1.59 kB [emitted]
lib-jitsi-meet.min.map 3.44 MB 0 [emitted] lib-jitsi-meet
[0] ../jitsi-meet-logger/lib/index.js 3.67 kB {0} [built]
[1] ./modules/browser/index.js 99 bytes {0} [built]
[2] ./modules/util/GlobalOnErrorHandler.js 2.54 kB {0} [built]
[4] ./service/RTC/MediaType.js 110 bytes {0} [built]
[5] ./modules/statistics/statistics.js 30.5 kB {0} [built]
[6] ./service/statistics/AnalyticsEvents.js 13.8 kB {0} [built]
[7] ./JitsiConferenceEvents.js 8.05 kB {0} [built]
[12] ./JitsiTrackError.js 6.64 kB {0} [built]
[60] ./JitsiMediaDevicesEvents.js 896 bytes {0} [built]
[61] ./index.js 160 bytes {0} [built]
[62] ./JitsiMeetJS.js 19 kB {0} [built]
[63] ./modules/util/AuthUtil.js 1.42 kB {0} [built]
[64] ./JitsiConnection.js 5.45 kB {0} [built]
[169] ./JitsiMediaDevices.js 6 kB {0} [built]
[170] ./modules/RTC/RTCUIHelper.js 2.49 kB {0} [built]
+ 156 hidden modules
ERROR in ../strophejs-plugin-disco/lib/strophe.disco.js
Module not found: Error: Can't resolve 'strophe.js' in '/home/vmadmin/m-health-/node_modules/strophejs-plugin-disco/lib'
@ ../strophejs-plugin-disco/lib/strophe.disco.js 4:126-147 4:196-227
@ ./modules/xmpp/xmpp.js
@ ./JitsiConnection.js
@ ./JitsiMeetJS.js
@ ./index.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! lib-jitsi-meet@github:jitsi/lib-jitsi-meet#39eea17e7e2f8ff4cc273239a6e73f2a149b96e2 postinstall: `webpack -p`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the lib-jitsi-meet@github:jitsi/lib-jitsi-meet#39eea17e7e2f8ff4cc273239a6e73f2a149b96e2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vmadmin/.npm/_logs/2018-06-07T17_40_52_999Z-debug.log
Yeah I see why now, because of: lib-jitsi-meet@github:jitsi/lib-jitsi-meet#39eea17e7e2f8ff4cc273239a6e73f2a149b96e2 You are using lib-jitsi-meet which is using our fork of strophe.
You have two option, update to latest or in your package.json you need:
"strophe.js": "github:jitsi/strophejs#1.2.14-1",
"strophejs-plugin-disco": "0.0.2",
All the time, I was thinking that you are using latest.
THANK YOU SO MUCH SIR.
Sorry for another issue, I keep receiving this error anytime another person joins the call
CONFERENCE FAILED: conference.setup_failed Error: ICE fail
at r.peerconnection.oniceconnectionstatechange
was this fixed in a recent jitsi-meet?
Is your server running behind nat ( the public address to access it is not an address on any of the physical network devices on the machine) ?
Hey sorry for the delay, it works with firefox but with chrome it does not work. It also does not give me any error.
i get this error Error: An unmapped SSRC was found