Error when installing smooth-scrollbar package using npm install <repo> #517
-
Hello! I tried to install this package using
Thank you for the help! ❤️ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, Nuxt3 is using ESM syntax by default, Maybe it's about or maybe because There are many ways to solve it
|
Beta Was this translation helpful? Give feedback.
-
I found there is difference between GitHub repository and published package https://unpkg.com/browse/[email protected]/ OR https://www.npmjs.com/package/smooth-scrollbar?activeTab=explore Processing of
|
Beta Was this translation helpful? Give feedback.
I found there is difference between GitHub repository and published package
https://unpkg.com/browse/[email protected]/ OR https://www.npmjs.com/package/smooth-scrollbar?activeTab=explore
Processing of
esm
is a bit complicated in this package, and should be resolved in V9For now you should take of it and create your own customized
smooth-scrollbar
lib withsmooth-scrollbar
packagename
field to@tinokaartovuori/smooth-scrollbar
npm run bundle
thennpm run release
tsup