Giter VIP home page Giter VIP logo

Comments (11)

MrBrax avatar MrBrax commented on July 18, 2024

does the console say anything? are you running the server?

from twitch-vod-chat.

condor125 avatar condor125 commented on July 18, 2024

Yes, the server is running.

This is the console output
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

from twitch-vod-chat.

MrBrax avatar MrBrax commented on July 18, 2024

what are the steps you took to build and run it? did you build all the "modules"?
are you using a reverse proxy?

from twitch-vod-chat.

condor125 avatar condor125 commented on July 18, 2024

I cloned LiveStreamDVR with --recurse-submodules and followed the steps for LiveStreamDVR standalone setup according to the README file.

Which modules do I have to build?

I am using apache2 reverse proxy:

ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:8080/ keepalive=On
ProxyPassReverse / http://localhost:8080/
<Proxy *>
  Order deny,allow
  Allow from all
</Proxy>

from twitch-vod-chat.

MrBrax avatar MrBrax commented on July 18, 2024

considering you do have the index.html served to you i guess you have them all built.

must be something with the reverse proxy only serving / and no subdirectories. i don't use apache for this server but for others i have pretty much the same config, except for the keepalive part

like, in the client-vue/dist there are directories and other files, right?

from twitch-vod-chat.

condor125 avatar condor125 commented on July 18, 2024

Trying to access the vodplayer with myserver.com:8080/vodplayer also does not work.

Content of LiveStreamDVR/twitch-vod-chat/dist

.
|-- assets
|   |-- index.c993bb63.css
|   `-- index.e69eff3a.js
`-- index.html

The output of the building process, if it is of any use:

yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0".
[4/4] Building fresh packages...
Done in 3.56s.
yarn run v1.22.19
$ vue-tsc --noEmit && vite build
vite v2.9.9 building for production...
✓ 42 modules transformed.
dist/index.html                  0.94 KiB
dist/assets/index.c993bb63.css   7.06 KiB / gzip: 2.20 KiB
dist/assets/index.e69eff3a.js    115.88 KiB / gzip: 38.74 KiB
Done in 7.02s.

from twitch-vod-chat.

MrBrax avatar MrBrax commented on July 18, 2024

builds seem to be alright

both using port 80 and 8080 won't work? accessing the site served by the node executable should work

from twitch-vod-chat.

condor125 avatar condor125 commented on July 18, 2024

both using port 80 and 8080 won't work?

yes

accessing the site served by the node executable should work

How do I do that?

from twitch-vod-chat.

MrBrax avatar MrBrax commented on July 18, 2024

apache is running at port 80
node server is running at port 8080
such, if you access it at 8080 it should be serving it internally. should show up in the logs too i think

from twitch-vod-chat.

condor125 avatar condor125 commented on July 18, 2024
::ffff:my.home.ip - admin [20/Jul/2022:20:27:38 +0000] "GET /vodplayer/ HTTP/1.1" 200 964 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
::ffff:my.home.ip - admin [20/Jul/2022:20:27:38 +0000] "GET /assets/index.e69eff3a.js HTTP/1.1" 200 485 "http://myserver.com:8080/vodplayer/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
::ffff:my.home.ip - admin [20/Jul/2022:20:27:38 +0000] "GET /assets/index.c993bb63.css HTTP/1.1" 200 485 "http://myserver.com:8080/vodplayer/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
::ffff:my.home.ip - admin [20/Jul/2022:20:27:38 +0000] "GET /favicon.ico HTTP/1.1" 200 15086 "http://myserver.com:8080/vodplayer/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
::ffff:my.home.ip - admin [20/Jul/2022:20:27:38 +0000] "GET /favicon.ico HTTP/1.1" 200 15086 "http://myserver.com:8080/vodplayer/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"

from twitch-vod-chat.

MrBrax avatar MrBrax commented on July 18, 2024

i really don't know what else it could be, cloning a new one and building it, and view it only locally without any reverse proxies would be my only advice

from twitch-vod-chat.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.