lite-server icon indicating copy to clipboard operation
lite-server copied to clipboard

typings install not working

Open dashng opened this issue 7 years ago • 1 comments

Before you open an issue, please check if a similar issue already exists or has been closed before.

typings install & search not working

should be installed according to typings.json

Bug repro steps

warnings:

[root@ui-dalian-ued backend]# typings -- install dt~jasmine
typings ERR! message Unable to connect to "http://api.typings.org/entries/dt/jasmine/versions/latest"
typings ERR! caused by connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
typings ERR! 
typings ERR! cwd /home/servers/Tetration/tetration-data-analyzer/backend
typings ERR! system Linux 3.10.0-693.el7.x86_64
typings ERR! command "/usr/local/bin/node" "/usr/local/bin/typings" "--" "install" "dt~jasmine"
typings ERR! node -v v9.3.0
typings ERR! typings -v 2.1.1
typings ERR! code EUNAVAILABLE
typings ERR! 
typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>
[root@ui-dalian-ued backend]# ls
build  gulpfile.js  index.html  index.html.1  latest  node_modules  nohup.out  package.json  package-lock.json  src  tsconfig.json
[root@ui-dalian-ued backend]# rm -rf .typingsrc 
[root@ui-dalian-ued backend]# ls
build  gulpfile.js  index.html  index.html.1  latest  node_modules  nohup.out  package.json  package-lock.json  src  tsconfig.json
[root@ui-dalian-ued backend]# typings -- install dt~jasmine
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/jasmine/versions/latest"
typings ERR! caused by connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
typings ERR! 
typings ERR! cwd /home/servers/Tetration/tetration-data-analyzer/backend
typings ERR! system Linux 3.10.0-693.el7.x86_64
typings ERR! command "/usr/local/bin/node" "/usr/local/bin/typings" "--" "install" "dt~jasmine"
typings ERR! node -v v9.3.0
typings ERR! typings -v 2.1.1
typings ERR! code EUNAVAILABLE
typings ERR! 
typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>

Environment

  • lite-server version:
  • nodejs version: v9.3.0
  • npm version: v2.1.1
  • OS type/version:

dashng avatar Jan 17 '18 15:01 dashng

I was bothered by this issue serveral days.

I add .typingsrc for proxy, but not working either.

dashng avatar Jan 17 '18 15:01 dashng