Skip to content
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

fix: Fix license generation on vercel #158

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

amaury1093
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Jan 28, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/reacher/webapp/tddq1c9hvYYf5mr7usBHJikSAV7F
✅ Preview: https://webapp-git-am-fix-webhook-reacher.vercel.app

@vercel
Copy link

vercel bot commented Sep 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
webapp ✅ Ready (Inspect) Visit Preview Sep 2, 2022 at 10:05AM (UTC)

@amaury1093
Copy link
Member Author

Still here:

[POST] /api/stripe/webhooks
12:38:21:42

2022-09-02T10:38:24.219Z	26f86d62-f4db-4786-8634-ca5a797f315f	ERROR	Uncaught Exception 	{"errorType":"Error","errorMessage":"spawn /var/task/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs ENOENT","code":"ENOENT","errno":-2,"syscall":"spawn /var/task/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs","path":"/var/task/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs","spawnargs":["/var/task/node_modules/markdown-pdf/phantom/render.js","/tmp/tmp-9BjgbdKdiz5Z7.html","/tmp/tmp-9u7w5QhCqMYiv.pdf","/var/task","/var/task/node_modules/markdown-pdf/runnings.js","/var/task/node_modules/markdown-pdf/css/pdf.css","/var/task/node_modules/markdown-pdf/css/highlight.css","A4","portrait","2cm",0,10000],"cmd":"/var/task/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /var/task/node_modules/markdown-pdf/phantom/render.js /tmp/tmp-9BjgbdKdiz5Z7.html /tmp/tmp-9u7w5QhCqMYiv.pdf /var/task /var/task/node_modules/markdown-pdf/runnings.js /var/task/node_modules/markdown-pdf/css/pdf.css /var/task/node_modules/markdown-pdf/css/highlight.css A4 portrait 2cm 0 10000","domainEmitter":{"_events":{},"_eventsCount":0,"writable":true,"readable":true,"concat":{}},"domainThrown":false,"stack":["Error: spawn /var/task/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs ENOENT","    at Process.ChildProcess._handle.onexit (internal/child_process.js:277:19)","    at onErrorNT (internal/child_process.js:472:16)","    at processTicksAndRejections (internal/process/task_queues.js:82:21)"]}Unknown application error occurred

Maybe it's worth switching to puppeteer-based https://github.com/simonhaenisch/md-to-pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant