Comments (10)
What is nexus?
from jitsi-meet-sdk-samples.
Hi @saghul
Nexus is a private repository maintaining service similar to npm.
I created a react-native module to maintain as a common module for all my projects.
I installed jitsi/react-native-sdk in common-communication and pushed it to nexus(private npm repo).
When I install it and try to run this in one of my other projects getting errors
![Screenshot 2024-03-21 at 1 37 54 PM](https://private-user-images.githubusercontent.com/98651745/315204354-e0d0cd2d-3ca8-4ba3-a2ed-02b0295d34e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc0NzQ0NzQsIm5iZiI6MTcxNzQ3NDE3NCwicGF0aCI6Ii85ODY1MTc0NS8zMTUyMDQzNTQtZTBkMGNkMmQtM2NhOC00YmEzLWEyZWQtMDJiMDI5NWQzNGUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA0VDA0MDkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1M2JjOWYxMjk1OGEzYmVmNjI2NmRkM2I5YzBiYTgwZDA1MmI4ZjExZWY3YjU3NGFmN2Q5MTJlN2UzMDQwMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3ESzwdZ71zh5ZIsNygcbCW6hSnscxoBQ5HjtE4fRzt0)
from jitsi-meet-sdk-samples.
Ah that nexus.
Our SDK depends on many modules. The error you see there is because react-native-webrtc was not found. You basically need to push all our dependencies to your nexis too.
As an aside, we don't yet support Hermes, which I see you're using.
from jitsi-meet-sdk-samples.
I tried disabling Hermes engine too. Still couldn't solve the issue. When I use @jitsi/react-native-sdk directly in a project it worked.
How can I push all dependencies in nexus.
I also tried in iOS too. but getting below error
Here is my package.json for nexus package
{
"type": "module",
"name": "common-communication",
"version": "1.0.0",
"main": "src/index.tsx",
"react-native": "src/index.tsx",
"source": "src/index.tsx",
"scripts": {
"lint": "eslint .",
"test": "jest",
"format": "prettier --write src/**/*.{ts,tsx,css,scss,md,json} --config ./.prettierrc"
},
"author": "Pavan",
"license": "ISC",
"dependencies": {
"@stomp/stompjs": "^7.0.0",
"@amplitude/react-native": "2.7.0",
"@braintree/sanitize-url": "7.0.0",
"@giphy/react-native-sdk": "2.3.0",
"@jitsi/react-native-sdk": "2.0.2",
"@react-native-async-storage/async-storage": "1.19.4",
"@react-native-community/clipboard": "1.5.1",
"@react-native-community/netinfo": "11.1.0",
"@react-native-community/slider": "4.4.3",
"@react-native-google-signin/google-signin": "10.1.0",
"@react-native/metro-config": "0.72.9",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native-background-timer": "2.4.1",
"react-native-calendar-events": "2.2.0",
"react-native-default-preference": "1.4.4",
"react-native-device-info": "10.9.0",
"react-native-gesture-handler": "2.9.0",
"react-native-get-random-values": "1.9.0",
"react-native-immersive-mode": "2.0.1",
"react-native-keep-awake": "4.0.0",
"react-native-orientation-locker": "1.6.0",
"react-native-pager-view": "6.2.0",
"react-native-paper": "5.10.3",
"react-native-performance": "5.0.0",
"react-native-safe-area-context": "4.7.1",
"react-native-screens": "3.24.0",
"react-native-sound": "0.11.2",
"react-native-splash-screen": "3.3.0",
"react-native-svg": "13.13.0",
"react-native-video": "6.0.0-alpha.11",
"react-native-watch-connectivity": "1.1.0",
"react-native-webrtc": "118.0.2",
"react-native-webview": "13.5.1",
"text-encoding": "0.7.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "0.73.2",
"@react-native/metro-config": "0.72.9",
"@react-native/typescript-config": "0.73.1",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"@types/text-encoding": "^0.0.39",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.2.0",
"typescript": "5.0.4",
"@babel/plugin-proposal-export-default-from": "7.22.5",
"metro-react-native-babel-preset": "0.76.8"
},
"engines": {
"node": ">=16"
},
"overrides": {
"@xmldom/xmldom": "0.8.7"
}
}
from jitsi-meet-sdk-samples.
@saghul
Also, in the examples of react-native provided in the official website hermesEngine is already enabled.
Repo Link:
https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native
from jitsi-meet-sdk-samples.
I tried disabling Hermes engine too. Still couldn't solve the issue. When I use @jitsi/react-native-sdk directly in a project it worked.
I didn't say it would, it was an aside comment.
How can I push all dependencies in nexus.
I don't know since I don't use nexus. It does sound somewhat complex since our dependencies might have more dependencies, and so on.
Also, in the examples of react-native provided in the official website hermesEngine is already enabled.
Repo Link:
https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native
Ops, that was an oversight. Thanks for the heads up, I just disabled it.
from jitsi-meet-sdk-samples.
@saghul
I am confused about what these scripts do in @jitsi/react-native-sdk package.
Also, I think i need to maintain these in my nexus module
![Screenshot 2024-03-21 at 3 11 28 PM](https://private-user-images.githubusercontent.com/98651745/315234638-9b609a6a-50e5-4ba0-8db6-b235d11be432.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc0NzQ0NzQsIm5iZiI6MTcxNzQ3NDE3NCwicGF0aCI6Ii85ODY1MTc0NS8zMTUyMzQ2MzgtOWI2MDlhNmEtNTBlNS00YmEwLThkYjYtYjIzNWQxMWJlNDMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA0VDA0MDkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFiODk1MGQ4NmViZDU0NGZiODQ2NGEzZjRhZGNlYTYzODgxN2UxZDA0MmE5NDFkNmUxOGNhZDFjODQ4NDM0M2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ySGM9ZE310Kd2mAQ5O-F6QCRNbrcNf5gWoqfblvnwdQ)
from jitsi-meet-sdk-samples.
Those scripts just help sync the dependencies. They are part of the package, you don't need to worry about them.
from jitsi-meet-sdk-samples.
@saghul
Thank you for your response.
As I said earlier about the nexus registry, I logged in to npm with my nexus credentials and if I try to install @jitsi/react-native-sdk, getting a 401 error saying couldn't install yaml (and many other dependencies).
from jitsi-meet-sdk-samples.
Because they are not in your nexus.
You'll need to push all of them, but there are tons! Look inside package-lock.
from jitsi-meet-sdk-samples.
Related Issues (20)
- [Android] ConferenceService is not working HOT 3
- How to handle/customize Moderator flow? HOT 2
- can not add library to project "can't download failed" HOT 1
- Unable to Initiate Jitsi Meet After Upgrading to Android 14 App Crashing HOT 10
- No video and audio when 3 or more participants joining
- not able to connect to the meeting url using React native HOT 20
- nothing happen when we click on end/cancel call HOT 14
- Unable to join the meeting- it says ask to join HOT 7
- Sample SDK Example Crashing for Android Kotlin HOT 3
- Possibility of creating an SDK for .NET MAUI HOT 3
- Symbol not found - IOS jitsi meet sdk giphy ui sdk crash on launch HOT 10
- How to use self-signed certificate for mobile phone of androind? HOT 3
- About Flutter SDK “configOverrides.toolbarButtons” HOT 3
- About Flutter SDK by "ScreenShare on iOS" HOT 1
- The issue with targetSDK 14 HOT 6
- Hi
- Can the function buttons on the conference interface be hidden
- My Android app cannot enter the meeting HOT 14
- Can not run app, getting errors related to the React Native Community Clipboard HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitsi-meet-sdk-samples.