Can test/run but can't deploy (issue with sub-dependencies) [resolved]
I am getting this error:
Here is a top of my script for dependencies:
The goal of the script is to get pdf file and output it as a text, so I use pdf.js only to parse pdf.
If in the script I add require("canvas") anywhere it deploys but it doesn't run.
Aslo, it seems like even thought it says it didn't deploy I still can run the script.
How to deal with that canvas dependencies in this case?
Error deploying this script
This script has not been deployed successfully because of the following errors:
Here is a top of my script for dependencies:
The goal of the script is to get pdf file and output it as a text, so I use pdf.js only to parse pdf.
If in the script I add require("canvas") anywhere it deploys but it doesn't run.
Aslo, it seems like even thought it says it didn't deploy I still can run the script.
How to deal with that canvas dependencies in this case?
