alanshaw / alanshaw/markdown-pdf

The "file" argument must be of type string. Received type object

Abierto
#159 24 comentarios 52 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.9k
Forks
253
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hi,

When I run `markdown-pdf README.md` I get the following error:

```
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received type object
at validateString (internal/validators.js:125:11)
at normalizeSpawnArguments (child_process.js:414:3)
at spawn (child_process.js:553:16)
at Object.execFile (child_process.js:224:15)
at WriteStream. (/usr/local/lib/node_modules/markdown-pdf/index.js:117:22)
at WriteStream.emit (events.js:202:15)
at finishMaybe (_stream_writable.js:646:14)
at stream._final (_stream_writable.js:624:5)
at WriteStream._final (internal/fs/streams.js:270:3)
at callFinal (_stream_writable.js:617:10)
```

Can anyone suggest any solution?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.