thesmart / jquery-scrollspy

A ScrollSpy library for detecting enter/exit of elements in the viewport when the user scrolls
Other
276 stars 99 forks source link

Error with installing the package as a repository using npm #26

Open heshamabdallah opened 4 years ago

heshamabdallah commented 4 years ago

@thesmart I have added this package to my package.json file

"dependencies": {
  ...
  "jquery-scrollspy": "https://github.com/thesmart/jquery-scrollspy.git"
  ...
}

when I run npm install there is an error npm ERR! premature close and this error because the package doesn't have a package.json file name, would you please add it ?