ashthornton / asscroll

Ash's Smooth Scroll 🍑
MIT License
946 stars 27 forks source link

I had to install dependencies #6

Closed LeoSeyers closed 4 years ago

LeoSeyers commented 4 years ago

Hello,

I've been trying to use the library but got the following errors related to unresolved dependencies. Installing those two libs fixed the error, not sure why it happened in the first place.

ERROR in ./node_modules/lodash.debounce/index.js
Module not found: Error: Can't resolve './../webpack/buildin/global.js' in '{my-projet-path}\node_modules\lodash.debounce'
 @ ./node_modules/lodash.debounce/index.js 1:0-41
 @ ./node_modules/@ashthornton/asscroll/src/Events.js
 @ ./node_modules/@ashthornton/asscroll/src/index.js
 @ ./scripts/app.js

ERROR in ./node_modules/@ashthornton/asscroll/src/E.js
Module not found: Error: Can't resolve '@unseenco/e' in '{my-projet-path}\node_modules\@ashthornton\asscroll\src'
 @ ./node_modules/@ashthornton/asscroll/src/E.js 1:0-28 2:12-13
 @ ./node_modules/@ashthornton/asscroll/src/index.js
 @ ./scripts/app.js
ashthornton commented 4 years ago

Thanks for pointing this out @LeoSeyers, I've now corrected the dependency type for those modules.