marcj / angular2-localstorage

Angular 2+ decorator to save and restore variables/class properties to HTML5 LocalStorage automatically.
303 stars 107 forks source link

typings not found #71

Open LamaBimal opened 8 years ago

LamaBimal commented 8 years ago

while installing angular2-localstorage, it shows the typings not found.. errors are like as angular2-localstorage@0.4.0 postinstall /..../..../....../kisanFront/node_modules/angular2-localstorage

typings install

sh: 1: typings: not found npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN ng2-bs3-modal@0.10.4 requires a peer of bootstrap@~3.3.x but none was installed. npm WARN kisanPasal@1.0.0 No description npm WARN kisanPasal@1.0.0 No repository field. npm WARN kisanPasal@1.0.0 No license field. npm ERR! Linux 4.4.0-47-generic npm ERR! argv "/home/...../.nvm/versions/node/v6.9.1/bin/node" "/..../.../.nvm/versions/node/v6.9.1/bin/npm" "install" "--save" "angular2-localstorage" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 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 'typings install'.

alberthoekstra commented 7 years ago

I got same problem and could fix it doing 'npm install typings --save --global'.

rogerfar commented 7 years ago

Please include typings in the package itself.