vercel / examples

Enjoy our curated collection of examples and solutions. Use these patterns to build your own robust and scalable applications.
MIT License
3.59k stars 1.11k forks source link

Next.js + Flask example Deploy failed #946

Open 7laria opened 2 months ago

7laria commented 2 months ago

I've tried to deploy this example https://vercel.com/templates/next.js/nextjs-flask-starter but during the deployment the following error is shown: Error: Command failed: pip3.12 install --disable-pip-version-check --target . --upgrade -r /vercel/path0/requirements.txt

Screenshot 2024-08-19 alle 16 08 55

And the deploy fails

SimonIyamu commented 2 months ago

I had the same error and solved it by

peterdresslar commented 2 months ago

I don't think numpy is used at all at this point, so better to clean it out. The path of:

Does seem to work fine.

gaborcselle commented 1 month ago

Thanks for that pointer @peterdresslar, removing the numpy dependency solved it for me too.

peterdresslar commented 1 month ago

Sure! But @sup deserves the credit for their #947 that correctly fixed the issue a few weeks ago