question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug report: Failed file convert pdf test on Node < 14.14.0

See original GitHub issue

Description

Failing test for file convert pdf on Windows 10

Steps to reproduce

  1. get latest code
  2. npm run build
  3. npm t

Expected result

All tests passing.

Actual result

rmSyncFail

Environment

  • Windows 10
  • Node v12.19.0
  • M365 CLI v3.5.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
arjunumenoncommented, Jan 29, 2021

Awesome. Just tested the same in my machine and works like a charm. 👏.

Nothing cooler than an awesome teamwork… 💓

2reactions
waldekmastykarzcommented, Jan 29, 2021

I’ve replaced rmSync with unlinkSync which should do the job. Once again thanks for catching and reporting this 👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - nodejs pdf to image conversion - Stack Overflow
showing this type of error Try the new cross-platform PowerShell ... is an npm package that converts PDF file to image file :...
Read more >
Convert to PDF Not Working - Power Platform Community
I'm building a very simple flow and the Convert File continues to fail no matter what changes/modifications I make to my flow.
Read more >
Node JS Library - ConvertAPI
Convert your files with our online file conversion API. The ConvertAPI helps in converting various file formats. Creating PDF and Images from various...
Read more >
pdfreader - npm
Read text and parse tables from PDF files. Supports tabular data with automatic column detection, and rule-based parsing.
Read more >
Puppeteer HTML to PDF Generation with Node.js
Learn to generate a Puppeteer PDF document from a heavily styled ... if your target is a PDF file straight away and not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found