ionic-team / ionic-team/ionic-cli
Namespace 'NodeJS' has no exported member 'WriteStream'.
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Ionic version:** (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] **2.x**
[ ] **3.x**
[x] **4.x**
**I'm submitting a ...** (check one with "x")
[x] bug report
[ ] feature request
**Current behavior:**
I am just trying to serve my application and it throws this:
_node_modules/@types/inquirer/index.d.ts
Namespace 'NodeJS' has no exported member 'WriteStream'.
Namespace 'NodeJS' has no exported member 'ReadStream'._
**Expected behavior:**
Serve the application.
**Steps to reproduce:**
```
`ionic serve`
```
**Other information:**
I am not sure if that could be the problem, but I recently changed from Windows to Mac.
**Ionic info:** :
```
Ionic:
ionic (Ionic CLI) : 4.0.1 (/Users/eduardogodoy/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.6
Cordova:
cordova (Cordova CLI) : not installed
Cordova Platforms : none
System:
NodeJS : v8.11.3 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS High Sierra
```
Guia de contribuição
Direção de pesquisa
Start by reproducing the failure with `ionic serve`, then inspect `node_modules/@types/inquirer/index.d.ts` and the installed Node.js type definitions mentioned in the error. Determine which dependency or type version causes the missing `NodeJS.WriteStream` and `ReadStream` members; done means the Ionic app serves without these TypeScript errors.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- node.js, typescript
- Domínio
- cli
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100