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

Can't import library in HTML #263

Open
vk496 opened this issue Jul 29, 2021 · 0 comments
Open

Can't import library in HTML #263

vk496 opened this issue Jul 29, 2021 · 0 comments

Comments

@vk496
Copy link

vk496 commented Jul 29, 2021

Hello,

I'm trying to use this library, but when I import this block of code in my page:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js"
        crossorigin="anonymous"></script>

I'm getting this error in the console:

 Uncaught TypeError: right-hand side of 'in' should be an object, got undefined                                        react-flip-move.js:7:22
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:7
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:4
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:5
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:7
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:4
    <anonymous> https://cdn.jsdelivr.net/npm/[email protected]/dist/react-flip-move.js:5

Br

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