interfaced / zombiebox

JavaScript Smart TV development framework

Home Page:https://zombiebox.tv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing module Follow Redirects fails

socialweb-iaraya opened this issue · comments

I've installed follow-redirects using these two npm commands:

npm i follow-redirects
npm install @types/follow-redirects

I've imported it inside video-player.js like this:

import { http, https } from 'follow-redirects';

However if I run the demo application it doesn't run and returns the following error:

GET http://localhost:1337/modules/follow-redirects net::ERR_ABORTED 404 (Not Found)

I'm trying to figure out if this is a zombiebox problem, a follow-redirects issue or if I am doing something wrong.

The terminal shows the following error, which I'm unable to trace so I'm thinking it's generated by zombiebox itself:

Can't resolve aliased module path follow-redirects
Referrer: modules/demo/scenes/video-player/video-player

I need this library to solve url redirects before feeding the final url to the videoplayer, which cannot handle redirects on its own.

Thanks.