linagora / hublin

DEPRECATED - An easy and free video conference service based on WebRTC
https://hubl.in
Other
1.59k stars 296 forks source link

Is there missing some references? #114

Open duchuan1 opened 5 years ago

duchuan1 commented 5 years ago

I use npm install from the code, and run it success. But when I open the url, I find it missing some references(I also can't find the missing file in frontend folder). I don't know how to fix it, Could somebody can help me ?

Environment:

nvm use
     Found '/home/v-du/hublin/.nvmrc' with version <lts/carbon>
     Now using node v8.12.0 (npm v6.4.1)
uname -a
     Linux ubuntu 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 
     x86_64 GNU/Linux
mongo -version
    MongoDB shell version v3.6.3
    git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
    OpenSSL version: OpenSSL 1.1.0g  2 Nov 2017
    allocator: tcmalloc
    modules: none
    build environment:
    distarch: x86_64
    target_arch: x86_64
redis-server --version
    Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=1bc80a08306a3efd
bower --version
    1.8.4

Exception:

unevenly-glamorous-iaas:1 Refused to apply style from 'http://192.168.190.128:8080/components/angular-motion/dist/angular-motion.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. unevenly-glamorous-iaas:1 GET http://192.168.190.128:8080/chat/components/Autolinker.js/dist/Autolinker.min.js net::ERR_ABORTED 404 (Not Found) unevenly-glamorous-iaas:1 GET http://192.168.190.128:8080/chat/components/Autolinker.js/dist/Autolinker.min.js net::ERR_ABORTED 404 (Not Found) unevenly-glamorous-iaas:1 GET http://192.168.190.128:8080/chat/components/Autolinker.js/dist/Autolinker.min.js net::ERR_ABORTED 404 (Not Found) unevenly-glamorous-iaas:1 Refused to execute script from 'http://192.168.190.128:8080/chat/components/angular-truncate/src/truncate.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. unevenly-glamorous-iaas:1 GET http://192.168.190.128:8080/chat/components/Autolinker.js/dist/Autolinker.min.js net::ERR_ABORTED 404 (Not Found) unevenly-glamorous-iaas:1 Refused to execute script from 'http://192.168.190.128:8080/chat/components/Autolinker.js/dist/Autolinker.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. angular.js:88 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.6.8/$injector/modulerr?p0=liveConferenceApplication&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.6.8%2F%24injector%2Fmodulerr%3Fp0%3Dtruncate%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.6.8%252F%2524injector%252Fnomod%253Fp0%253Dtruncate%250A%2520%2520%2520%2520at%2520http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A7%253A76%250A%2520%2520%2520%2520at%2520http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A26%253A408%250A%2520%2520%2520%2520at%2520b%2520(http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A25%253A439)%250A%2520%2520%2520%2520at%2520http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A26%253A182%250A%2520%2520%2520%2520at%2520http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A42%253A332%250A%2520%2520%2520%2520at%2520r%2520(http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A8%253A7)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A42%253A180)%250A%2520%2520%2520%2520at%2520http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A42%253A364%250A%2520%2520%2520%2520at%2520r%2520(http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A8%253A7)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252F192.168.190.128%253A8080%252Fcomponents%252Fangular%252Fangular.min.js%253A42%253A180)%0A%20%20%20%20at%20http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A7%3A76%0A%20%20%20%20at%20http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A43%3A99%0A%20%20%20%20at%20r%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A8%3A7)%0A%20%20%20%20at%20g%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A42%3A180)%0A%20%20%20%20at%20http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A42%3A364%0A%20%20%20%20at%20r%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A8%3A7)%0A%20%20%20%20at%20g%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A42%3A180)%0A%20%20%20%20at%20gb%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A46%3A250)%0A%20%20%20%20at%20c%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A22%3A19)%0A%20%20%20%20at%20Uc%20(http%3A%2F%2F192.168.190.128%3A8080%2Fcomponents%2Fangular%2Fangular.min.js%3A22%3A332) at angular.js:88 at angular.js:5014 at r (angular.js:408) at g (angular.js:4974) at gb (angular.js:4891) at c (angular.js:1955) at Uc (angular.js:1976) at we (angular.js:1861) at HTMLDocument. (angular.js:34250) at j (jquery.js:3073) (anonymous) @ angular.js:88 (anonymous) @ angular.js:5014 r @ angular.js:408 g @ angular.js:4974 gb @ angular.js:4891 c @ angular.js:1955 Uc @ angular.js:1976 we @ angular.js:1861 (anonymous) @ angular.js:34250 j @ jquery.js:3073 fireWith @ jquery.js:3185 ready @ jquery.js:3391 I @ jquery.js:3407

soroushoracle commented 5 years ago

same here ....

reverse-engineer commented 4 years ago

Hey,

I ran into the same issue trying to deploy my own hublin instance. It's basically because the dependency linagora/linagora.esn.yjs-chat has a dependency itself which is on a private linagora server. I suspect your npm install should have failed and hanged on an auth prompt like with me. I fixed this for myself with this commit.

You can use that hublin fork if you want to deploy your own hublin, it should work.

I don't know if linagora will fix this, because they use their version of the dependency (see here), which seems to have something to do with that Janus WebRTC server.

Enjoy!