[now-cli] Now cli 16.3.0 `--prod` option does not alias domain when build succeeded
See original GitHub issueHi everyone,
First of all, amazing service and this is really the first time I’ve found an issue in a process that was overall very seamless, thank you!
Now I did get an issue with updating now-cli
to 16.3.0, and to my surprise my build does not get to be aliased to my custom domain. Going back to now-cli@16.2.0
fixes my issue completely.
My command is the following:
now --prod --local-config ./.now/now.dev.json
My config is:
{
"name": "website-dev",
"alias": "domain.com",
"version": 2,
"build": {
"env": {
// hidden
}
},
"builds": [{
"src": "next.config.js",
"use": "@now/next"
}]
}
Is there something I need to update to support the newer now-cli updates?
Thanks in advance, let me know if you need more info from me!
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Installing Now CLI failed (Now Experience UI Framework)
I am trying to install Now CLI using this command: ... Please update your dependencies as this version is no longer maintained an...
Read more >Using `--alias` with invalid characters "slugifies" the string in ...
When using --alias to create a custom subdomain for a deploy, characters which would be invalid for a domain name are "slugified" in...
Read more >Domain - AWS Copilot CLI
Use app-associated root domain · Default domain name for your service · Customized domain alias · What happens under the hood? · What...
Read more >Add a user alias domain or secondary domain - Google Support
Depending on your needs, you add a domain as a user alias domain or a secondary domain. If you try to add a...
Read more >vercel alias
Using the vercel alias command to list Custom Domains that were assigned to Deployments. Unique Options. These are options that only apply to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The stable channel has been updated with this fix, thanks
https://github.com/zeit/now/releases/tag/now%4016.3.1
Stable is master branch https://github.com/zeit/now/commits/master Canary is canary branch https://github.com/zeit/now/commits/canary
@samuelroy thanks for sharing! I’ve solved #3107 by using
now@canary
and
now.production.json
@styfle when should we expect this fix to be merged on the main release? also, where can I check the main differences between main and canary?