johnpapa / johnpapa/lite-server
typings install not working
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 262
- PR merge metrics
- No merged PRs in 30d
Description
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!
[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!
```
### Environment
- `lite-server` version:
- `nodejs` version: v9.3.0
- `npm` version: v2.1.1
- OS type/version:
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.