Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing module Follow Redirects fails #26

Open
socialweb-iaraya opened this issue Sep 15, 2022 · 0 comments
Open

Importing module Follow Redirects fails #26

socialweb-iaraya opened this issue Sep 15, 2022 · 0 comments

Comments

@socialweb-iaraya
Copy link

socialweb-iaraya commented Sep 15, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant