react-player icon indicating copy to clipboard operation
react-player copied to clipboard

Module not found - can't resolve 'react-player'

Open newenglanddroneservices opened this issue 1 year ago • 1 comments

Hello all: I'm trying to use this component to play a youtube video of mine:

my imports look like this: import React from "react"; import ReactPlayer from 'react-player';

And i installed it using 'npm install react-player' and it said it installed 11 packages but the second import statement throws the module not found - can't resolve 'react-player' error

I'm coding in VS-Code on ubuntu 24.4

Any usual suspects on why this would happen? Thanks Harold

newenglanddroneservices avatar Oct 03 '24 20:10 newenglanddroneservices