angularjs - Fail to npm install specific commit of angular library from github -


im using angular 2.0.0-beta.15 , cant upgrade it, had find specific commit github library (ng2-dnd).

so found commit support 2.0.0-beta.17 should work me:

"ng2-dnd": "git://github.com/akserg/ng2-dnd.git#87a6cc0d395ebc2d14734769a3190836c8af6e1a" 

but when go npm install error:

npm err! addlocal not install /var/folders/n6/3vqr57k94_z7ynl99yvvtv1r0000gn/t/npm-9640-99198f21/git-cache-fef0b17f/87a6cc0d395ebc2d14734769a3190836c8af6e1a npm err! darwin 15.3.0 npm err! argv "/usr/local/cellar/node/5.6.0/bin/node" "/usr/local/bin/npm" "install" npm err! node v5.6.0 npm err! npm  v3.6.0  npm err! no version provided in package.json npm err! npm err! if need help, may report error at: npm err!     <https://github.com/npm/npm/issues> 

does knows how can on this?

thanks!

you can use ng2-dnd version 1.5.0

update package.json with:

"ng2-dnd" : "1.5.0" 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -