Skip to main content
Participant
June 15, 2022
Answered

Convert Static HTML to PDF

  • June 15, 2022
  • 1 reply
  • 391 views

I plugged in my private key and pdfservices-api-credentials.json the I downloaded with the zip from adobe, added the source input html file name and folder location, added the output file name and folder location. 

~DOES NOT WORK 

 

Refer to the following,

In Visual Studio Code:

"Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

RAN: NPM INSTALL

 

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\CNDEV\Desktop\CN ADOBE PDF\PDF ENGINE\pdfservices-node-sdk-samples-master> npm install
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\TECHDEV\Desktop\Convert PDF\pdfservices-node-sdk-samples-master/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\TECHDEV\Desktop\Convert PDF\pdfservices-node-sdk-samples-master\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

 

~ DOES NOT WORK

This topic has been closed for replies.
Correct answer cntechdragon

Never Mind: Wrong Parent Folder loaded and couldnt find the json file/

 

Works 

1 reply

cntechdragonAuthorCorrect answer
Participant
June 15, 2022

Never Mind: Wrong Parent Folder loaded and couldnt find the json file/

 

Works