diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-04 09:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-04 09:09:16 +0000 |
commit | 7ea6cb331a8d50e201ef5da34dcfd62b93760c5b (patch) | |
tree | 1a4145ef8500214150cd6b6c004d737016b1bdc0 /doc/user/packages | |
parent | e3bdfa1a13d7e6c92716324c78b5b20c07eeb7c6 (diff) | |
download | gitlab-ce-7ea6cb331a8d50e201ef5da34dcfd62b93760c5b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/packages')
-rw-r--r-- | doc/user/packages/npm_registry/index.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/user/packages/npm_registry/index.md b/doc/user/packages/npm_registry/index.md index 373e399d56f..7b97933aa89 100644 --- a/doc/user/packages/npm_registry/index.md +++ b/doc/user/packages/npm_registry/index.md @@ -56,7 +56,7 @@ You should see the NPM version printed in the output: ### Installing Yarn You may want to install and use Yarn as an alternative to NPM. Follow the -instructions at [yarnpkg.com](https://yarnpkg.com/en/docs/install) to install on +instructions at [yarnpkg.com](https://classic.yarnpkg.com/en/docs/install) to install on your development environment. Once installed, you can verify that Yarn is available with the following command: @@ -133,7 +133,7 @@ domain name. You should now be able to download and upload NPM packages to your project. NOTE: **Note:** -If you encounter an error message with [Yarn](https://yarnpkg.com/en/), see the +If you encounter an error message with [Yarn](https://classic.yarnpkg.com/en/), see the [troubleshooting section](#troubleshooting). ### Using variables to avoid hard-coding auth token values @@ -307,7 +307,7 @@ deploy: ### Error running yarn with NPM registry -If you are using [yarn](https://yarnpkg.com/en/) with the NPM registry, you may get +If you are using [yarn](https://classic.yarnpkg.com/en/) with the NPM registry, you may get an error message like: ```shell @@ -319,7 +319,7 @@ warning XXX: No license field [2/4] 🚚 Fetching packages... error An unexpected error occurred: "https://gitlab.com/api/v4/projects/XXX/packages/npm/XXX/XXX/-/XXX/XXX-X.X.X.tgz: Request failed \"404 Not Found\"". info If you think this is a bug, please open a bug report with the information provided in "/Users/XXX/gitlab-migration/module-util/yarn-error.log". -info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command +info Visit https://classic.yarnpkg.com/en/docs/cli/install for documentation about this command ``` In this case, try adding this to your `.npmrc` file (and replace `<your_token>` |