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

popmotion 11.0.3 import not working (missing exports) #933

Open
m0dch3n opened this issue Jan 31, 2022 · 4 comments
Open

popmotion 11.0.3 import not working (missing exports) #933

m0dch3n opened this issue Jan 31, 2022 · 4 comments

Comments

@m0dch3n
Copy link

m0dch3n commented Jan 31, 2022

Problem

Module '"popmotion"' has no exported member 'listen'.ts(2305

How to reproduce

npm i popmotion@11.0.3

Then in my .ts file

import { listen } from 'popmotion'

Expected behaviour

I took the example here

Either this documentation is not up to date, or there is a bug...

Btw tween and some others are also not working...

@amish1211
Copy link

amish1211 commented Oct 24, 2022

At the site "https://popmotion.io/learn/install/" it's told to use "https://unpkg.com/popmotion@11.0.3/dist/popmotion.global.min.js" as the script tag's src value. But it seems that because there's no file named "popmotion.global.min.js" on "https://unpkg.com/popmotion@11.0.3/dists" so it's not able to load the needed js and hence nothing is working as expected.
Popmotion please have a look and provide the correct link

@stokesman
Copy link
Contributor

For now, probably every page on popmotion.io that isn't at the domain root dates from the days of version 8. So if you want to follow any of those examples you'll have to either:
npm i popmotion@8

or for unpkg:
https://unpkg.com/popmotion@8/dist/popmotion.global.min.js

@marc-wilson
Copy link

Is this project dead? The documentation seems to be inaccurate, GitHub issues aren't getting any responses and there haven't been any updates pushed for a year.

@maximilliangeorge
Copy link

I think @mattgperry spends his efforts on https://motion.dev nowadays.

I agree the whole popmotion ecosystem is a very confusing – there's Popmotion Pure (which is popmotion v8), reachable from https://popmotion.io/learn. This version has a very different API and approach than the later versions (https://popmotion.io). Both show up on Google when you search for Popmotion, and it's easy to get them mixed up.

It would make sense to split these into separate npm packages, and to create a clearar naming distinction between them. This ecosystem is such a gold mine, but unfortunately a bit difficult to navigate unless you've been around for a while.

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

5 participants