-
Notifications
You must be signed in to change notification settings - Fork 6
Cannot import ReactYoutube #4
Copy link
Copy link
Open
Description
I keep getting this error:
Could not find a declaration file for module 'react-youtube-lazy'.
...
Trynpm i --save-dev @types/react-youtube-lazyif it exists or add a new declaration (.d.ts) file containingdeclare module 'react-youtube-lazy';
The recommended solutions don't seem to work either.
This is how I've been trying to use react-youtube-lazy:
npm i react-youtube-lazy --legacy-peer-deps
import ReactYoutube from "react-youtube-lazy";
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels