jesperlandberg/JScroll

Yarn can't find the package

thelucre opened this issue ยท 5 comments

Looking forward to using this! Has this been tagged for release? It's not coming through with Yarn 1.22.0:

yarn add @twotentytwo/jscroll
yarn add v1.22.0
[1/4] ๐Ÿ”  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@twotentytwo%2fjscroll: Not found".
info If you think this is a bug, please open a bug report with the information provided in "{path}/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

@thelucre hi. A major update will come within a week, along with the release:)

Oooh baby! Can't wait โœจ

Is there any news on the release?

@tomrutgers I just used src stuff for this. Still can't install it though

Hi there,
Iยดm really interested in your package.

But yarn add @twotwentytwo/jscroll still leads to this error:

error An unexpected error occurred: "https://registry.yarnpkg.com/@twotentytwo%2fjscroll: Not found".
info If you think this is a bug, please open a bug report with the information provided in "{path}/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Then I tried npm install git+https://github.com/jesperlandberg/JScroll.git with my project (I'm using vite btw).
But I get this The requested module [โ€ฆ] does not provide an export named 'default' " error in my console.

Can you give me a hint how to fix this, or workaround this?
Thank you!

Edit:

@tomrutgers I just used src stuff for this. Still can't install it though

How did you use the src stuff? I can't figure out how to import it properly โ€ฆ it'll always throw me an error?