-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Bad argument #112
Labels
Comments
I installed markdown-pdf by first installing NPM via the Mac OS package on their website, and then simply running npm install markdown-pdf I also get a similar error:
|
Having trouble reproducing this. This works for me:
@mdeforge Are you also on Mac OS? |
Hey folks, I met the same trouble on MacOS, and I find this markdown-pdf requires phantomjs-prebuilt And it works for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I do "markdown-pdf -o test.pdf test.md", I get this.
TypeError: Bad argument
at TypeError (native)
at ChildProcess.spawn (internal/child_process.js:289:26)
at exports.spawn (child_process.js:380:9)
at Object.exports.execFile (child_process.js:143:15)
at WriteStream. (C:\Program Files\nodejs\node_modules\markdown-pdf\index.js:117:22)
at emitNone (events.js:91:20)
at WriteStream.emit (events.js:185:7)
at finishMaybe (_stream_writable.js:515:14)
at endWritable (_stream_writable.js:525:3)
at WriteStream.Writable.end (_stream_writable.js:490:5)
Granted, I used npmbox to build an offline installer for this. But if I'm missing something, I'd really like to know what. Don't deal with node.js and npm stuff everyday. Any clues would be helpful.
The text was updated successfully, but these errors were encountered: