Works great on Mac but when I run in prod I get the following error when trying to run cli.
Error: Couldn't detect chrome version installed! use --chrome-binary to pass custom location
at RenderPDF._callee10$ (/home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/dist/index.js:665:39)
at tryCatch (/home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (/home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.<computed> [as next] (/home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js:114:21)
at step (/home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /home/justin/.nvm/versions/node/v12.16.2/lib/node_modules/chrome-headless-render-pdf/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
I tried to add dependencies with this install command but still get the same error
Works great on Mac but when I run in prod I get the following error when trying to run cli.
I tried to add dependencies with this install command but still get the same error