angular2-localstorage icon indicating copy to clipboard operation
angular2-localstorage copied to clipboard

typings not found

Open LamaBimal opened this issue 8 years ago • 2 comments

while installing angular2-localstorage, it shows the typings not found.. errors are like as [email protected] 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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN [email protected] requires a peer of bootstrap@~3.3.x but none was installed. npm WARN [email protected] No description npm WARN [email protected] No repository field. npm WARN [email protected] 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! [email protected] postinstall: typings install npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the [email protected] postinstall script 'typings install'.

LamaBimal avatar Nov 26 '16 15:11 LamaBimal

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

alberthoekstra avatar Dec 11 '16 14:12 alberthoekstra

Please include typings in the package itself.

rogerfar avatar Mar 05 '17 23:03 rogerfar