mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
[docs] Fix links to docs (#7668)
This commit is contained in:
@@ -16,4 +16,4 @@ If you would not like to verify your domain, you can remove it from your account
|
||||
|
||||
#### Resources
|
||||
|
||||
- [Vercel Custom Domains Documentation](https://vercel.com/docs/v2/custom-domains)
|
||||
- [Vercel Custom Domains Documentation](https://vercel.com/docs/concepts/projects/custom-domains)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#### Why This Error Occurred
|
||||
|
||||
You ran `vercel dev` inside a project that contains a `vercel.json` file with `env` or `build.env` properties that use [Vercel Secrets](https://vercel.com/docs/v2/build-step#environment-variables).
|
||||
You ran `vercel dev` inside a project that contains a `vercel.json` file with `env` or `build.env` properties that use [Vercel Secrets](https://vercel.com/docs/concepts/projects/environment-variables).
|
||||
|
||||
In order to use environment variables in your project locally that have values defined using the Vercel Secrets format (e.g. `@my-secret-value`), you will need to provide the value as an environment variable using a `.env`.
|
||||
|
||||
@@ -24,4 +24,4 @@ TEST=value
|
||||
|
||||
In the above example, `TEST` represents the name of the environment variable and `value` its value.
|
||||
|
||||
For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/v2/build-step#environment-variables).
|
||||
For more information on Environment Variables in development, [see the documentation](https://vercel.com/docs/concepts/projects/environment-variables).
|
||||
|
||||
@@ -538,7 +538,7 @@ function getMissingBuildScriptError() {
|
||||
code: 'missing_build_script',
|
||||
message:
|
||||
'Your `package.json` file is missing a `build` property inside the `scripts` property.' +
|
||||
'\nLearn More: https://vercel.com/docs/v2/platform/frequently-asked-questions#missing-build-script',
|
||||
'\nLearn More: https://vercel.link/missing-build-script',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ export default async function set(
|
||||
if (args.length === 0) {
|
||||
output.error(
|
||||
`To ship to production, optionally configure your domains (${link(
|
||||
'https://vercel.com/docs/v2/custom-domains'
|
||||
'https://vercel.link/domain-configuration'
|
||||
)}) and run ${getCommandName(`--prod`)}.`
|
||||
);
|
||||
return 1;
|
||||
|
||||
@@ -255,7 +255,7 @@ async function fetchBinary(url: string, framework: string, version: string) {
|
||||
throw new NowBuildError({
|
||||
code: 'STATIC_BUILD_BINARY_NOT_FOUND',
|
||||
message: `Version ${version} of ${framework} does not exist. Please specify a different one.`,
|
||||
link: 'https://vercel.com/docs/v2/build-step#framework-versioning',
|
||||
link: 'https://vercel.link/framework-versioning',
|
||||
});
|
||||
}
|
||||
await spawnAsync(`curl -sSL ${url} | tar -zx -C /usr/local/bin`, [], {
|
||||
@@ -387,7 +387,7 @@ export const build: BuildV2 = async ({
|
||||
Node.js will load 'false' as a string, not a boolean, so it's truthy still.
|
||||
This is to ensure we don't accidentally break other packages that check
|
||||
if process.env.CI is true somewhere.
|
||||
|
||||
|
||||
https://github.com/facebook/create-react-app/issues/2453
|
||||
https://github.com/facebook/create-react-app/pull/2501
|
||||
https://github.com/vercel/community/discussions/30
|
||||
|
||||
Reference in New Issue
Block a user