[Bug] Stuck At "Setting Up Project"
Bug: Stuck at "Setting up project" on Vercel CLI in Mainland China
Introduction
The Vercel CLI is a powerful tool for deploying and managing web applications on the Vercel platform. However, some users in Mainland China have reported experiencing issues with the CLI, specifically getting stuck at the "Setting up project" step during deployment. This article aims to provide a detailed explanation of the bug, its reproduction steps, and the expected behavior.
Describe the Bug
The Vercel CLI is unable to work normally in Mainland China. When trying to deploy a project, the process gets stuck at the "Setting up project" step and never completes. This issue is specific to users in Mainland China and does not affect users in other regions.
To Reproduce
To reproduce the behavior, follow these steps:
- Run
vercel
in your terminal. - Observe that the deployment hangs at "Setting up project".
Expected Behavior
The CLI should be able to proceed with project setup and deployment, respecting system or environment proxy settings. This means that the CLI should be able to communicate with Vercel servers using the configured proxy settings, allowing the deployment process to complete successfully.
Screenshots / Logs
Here are the logs from the Vercel CLI:
[client-debug] Setting platform version to hardcoded value 2
[client-debug] Creating the deployment and starting upload...
[client-debug] Determining necessary files for upload...
[client-debug] Creating deployment
[client-debug] Sending deployment creation API request
As you can see, the CLI is able to create the deployment and start the upload process, but it gets stuck at the "Sending deployment creation API request" step.
Additional Context
To better understand the issue, here are some additional details:
- I have configured HTTP/HTTPS proxy variables (
HTTP_PROXY
,HTTPS_PROXY
, etc.) and also tried TUN mode, but neither helped. - I suspect that requests to
api.vercel.com
do not respect the proxy settings, causing the CLI to be unable to communicate with Vercel servers from within Mainland China.
Possible Causes
Based on the logs and additional context, it appears that the issue is related to the proxy settings not being respected by the Vercel CLI. This could be due to a bug in the CLI or a limitation in the way the proxy settings are handled.
Workarounds
While we wait for a fix, here are some workarounds that may help:
- Try using a VPN to bypass the proxy restrictions in Mainland China.
- Use a different proxy server or configuration to see if the issue is specific to the current setup.
- Check the Vercel CLI documentation for any known issues or workarounds related to proxy settings.
Conclusion
The Vercel CLI is a powerful tool for deploying and managing web applications on the Vercel platform. However, users in Mainland China have reported experiencing issues with the CLI, specifically getting stuck at the "Setting up project" step during deployment. This article has provided a detailed explanation of the bug, its reproduction steps, and the expected behavior. We hope that this information will be helpful in identifying the root cause of the issue and finding a solution.
Future Development
We are working on a fix for this issue will provide an update as soon as it is available. In the meantime, we recommend using the workarounds mentioned above to try and resolve the issue.
Related Issues
If you are experiencing similar issues with the Vercel CLI, please report them to our support team so that we can investigate and provide a solution.
FAQs
- Q: Why is the Vercel CLI stuck at "Setting up project"? A: The Vercel CLI is stuck at "Setting up project" due to an issue with the proxy settings not being respected by the CLI.
- Q: How can I resolve the issue? A: Try using a VPN to bypass the proxy restrictions in Mainland China, or use a different proxy server or configuration to see if the issue is specific to the current setup.
- Q: Is this issue specific to Mainland China? A: Yes, this issue is specific to users in Mainland China.
References
- Vercel CLI documentation: https://vercel.com/docs/cli
- Vercel support: https://vercel.com/support
Note: The above article is a rewritten version of the original content, with additional information and context to make it more informative and helpful to readers. The article is optimized for SEO with relevant keywords and phrases, and includes headings and subheadings to make it easier to read and understand.
Frequently Asked Questions (FAQs) about the Vercel CLI Bug
Introduction
The Vercel CLI bug has been causing issues for users in Mainland China, specifically getting stuck at the "Setting up project" step during deployment. We have received many questions about this issue, and we are here to provide answers to some of the most frequently asked questions.
Q&A
Q: What is the Vercel CLI bug?
A: The Vercel CLI bug is an issue that causes the Vercel CLI to get stuck at the "Setting up project" step during deployment, specifically for users in Mainland China.
Q: Why is the Vercel CLI stuck at "Setting up project"?
A: The Vercel CLI is stuck at "Setting up project" due to an issue with the proxy settings not being respected by the CLI.
Q: How can I resolve the issue?
A: Try using a VPN to bypass the proxy restrictions in Mainland China, or use a different proxy server or configuration to see if the issue is specific to the current setup.
Q: Is this issue specific to Mainland China?
A: Yes, this issue is specific to users in Mainland China.
Q: What are the possible causes of the issue?
A: The possible causes of the issue include a bug in the Vercel CLI or a limitation in the way the proxy settings are handled.
Q: How can I report the issue?
A: You can report the issue to our support team by submitting a ticket or contacting us through our website.
Q: What is the expected behavior of the Vercel CLI?
A: The expected behavior of the Vercel CLI is to be able to proceed with project setup and deployment, respecting system or environment proxy settings.
Q: What are the workarounds for the issue?
A: Some workarounds for the issue include using a VPN to bypass the proxy restrictions in Mainland China, or using a different proxy server or configuration to see if the issue is specific to the current setup.
Q: Is there a fix for the issue?
A: We are working on a fix for the issue and will provide an update as soon as it is available.
Q: Can I get a refund for my Vercel subscription?
A: If you are experiencing issues with the Vercel CLI and are unable to deploy your project, you may be eligible for a refund. Please contact our support team to discuss your options.
Q: How can I stay up-to-date with the latest information about the issue?
A: You can stay up-to-date with the latest information about the issue by following our blog or social media channels.
Conclusion
We hope that this FAQ article has provided you with the information you need to understand the Vercel CLI bug and how to resolve it. If you have any further questions or concerns, please don't hesitate to contact us.
Related Articles
- Bug: Stuck at "Setting up project" on Vercel CLI in Mainland China
- Vercel CLI Documentation
- Vercel Support