ionic-team / ionic-team/ionic-cli

Namespace 'NodeJS' has no exported member 'WriteStream'.

Abierto
#3,566 4 comentarios 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
682
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
node.js, typescript
Área
cli
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.