thisissoon / angular-scrollspy

A simple lightweight library for Angular which automatically updates links to indicate the currently active section in the viewport
MIT License
35 stars 15 forks source link

Could not install from ... as it does not contain a package.json file. #15

Closed mateuszbem closed 5 years ago

mateuszbem commented 5 years ago

Could not install from "@thisissoon{angular-scrollspy,angular-inviewport}" as it does not contain a package.json file.

Is something wrong with repo? Regards!!!

jenniferabowd commented 5 years ago

I successfully downloaded it yesterday by running the command npm i @thisissoon/{angular-scrollspy,angular-inviewport} --save. I am using NPM version 6.4.1and Node version 10.13.0.

edoparearyee commented 5 years ago

@mateuszbem running npm i @thisissoon/{angular-scrollspy,angular-inviewport} appears to work for me. Closing as I am unable to reproduce this.

neon98 commented 5 years ago

same with me! It shows below error.

npm ERR! code ENOLOCAL
npm ERR! Could not install from "@thisissoon\{angular-scrollspy,angular-inviewport}" as it does not contain a package.json file.
edoparearyee commented 5 years ago

@neon98 the command should be npm i @thisissoon/{angular-scrollspy,angular-inviewport}

Note the forward slash / instead of a backslash