JulioWar / jw-bootstrap-switch-ng2

Bootstrap Switch for Angular 2+
https://juliowar.github.io/jw-bootstrap-switch-ng2/
MIT License
43 stars 14 forks source link

npm install is failed #26

Closed BugKiller-tech closed 6 years ago

BugKiller-tech commented 6 years ago

npm install jw-bootstrap-switch-ng2 --save

> angular2-localstorage@0.4.0 postinstall /Volumes/Work/Work/WEB/web-projects/2018_01_11_Latvia_angular4/alpenhaus-admin-panel/node_modules/angular2-localstorage
> typings install

sh: typings: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! angular2-localstorage@0.4.0 postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the angular2-localstorage@0.4.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/hkg328/.npm/_logs/2018-01-25T20_35_48_848Z-debug.log

I can see like this error.

BugKiller-tech commented 6 years ago

I've fixed by installing npm install typings -g. but I don't know why this is needed. If anyone knows about this, please let me kow.

JulioWar commented 6 years ago

Hello @RoraxHan, I think this is not an issue with this library because the error is showing a problem with angular2-localstorage