urish / angular-spinner

Angular directive to show an animated spinner (using spin.js)
MIT License
693 stars 146 forks source link

Bower package does not contain dist directory #101

Closed Guiswa closed 7 years ago

Guiswa commented 7 years ago

Bower package does not contain dist directory. If this is intentional, the readme is now incorrect as it does not specify a build step.

Also, attempting to build the project on my system via npm run build results in:

Tell the author that this fails on your system: npm ERR! rimraf ./dist

OS X 10.12.3 Node 7.4.0 NPM 4.1.1

ghost commented 7 years ago

Hi @Guiswa ,

Bower is working and having dist folder. See this:

Before npm run build you must run npm i to install rimraf package and all other packages

Hope that will help :wink:

Guiswa commented 7 years ago

See below for what I get after running bower install angular-spinner@1.0.1:

screen shot 2017-01-25 at 1 01 52 pm

ghost commented 7 years ago

Can you please run bower cache clean and then install it again?

Guiswa commented 7 years ago

Aha, that was the trick. Weird, since I've never had a problem with Bower cache before. In any case, I'm happy to be an example in case anyone else is seeing this issue.

ghost commented 7 years ago

Sometimes, Bower caches the packages in a wrong way. I'm glad I helped :smiley: