Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9fce17d2
Commit
9fce17d2
authored
Jul 09, 2021
by
Tim Rizzi
Committed by
Nick Gaskill
Jul 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about how to clear package cache
parent
dbbc174d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
doc/user/packages/maven_repository/index.md
doc/user/packages/maven_repository/index.md
+13
-0
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+8
-0
doc/user/packages/nuget_repository/index.md
doc/user/packages/nuget_repository/index.md
+9
-0
No files found.
doc/user/packages/maven_repository/index.md
View file @
9fce17d2
...
...
@@ -813,6 +813,19 @@ You can play around with the regex and try your version strings on [this regular
## Troubleshooting
To improve performance, Maven caches files related to a package. If you encounter issues, clear
the cache with these commands:
```
shell
rm -rf ~/.m2/repository
```
If you're using Gradle, run this command to clear the cache:
```
shell
rm -rf ~/.gradle/caches
```
### Review network trace logs
If you are having issues with the Maven Repository, you may want to review network trace logs.
...
...
doc/user/packages/npm_registry/index.md
View file @
9fce17d2
...
...
@@ -455,6 +455,14 @@ Due to a bug in npm 6.9.0, deleting distribution tags fails. Make sure your npm
When troubleshooting npm issues, first run the same command with the
`--verbose`
flag to confirm
what registry you are hitting.
To improve performance, npm caches files related to a package. Note that npm doesn't remove data by
itself. The cache grows as new packages are installed. If you encounter issues, clear the cache with
this command:
```
shell
npm cache clean
--force
```
### Error running Yarn with the Package Registry for npm registry
If you are using
[
Yarn
](
https://classic.yarnpkg.com/en/
)
with the npm registry, you may get
...
...
doc/user/packages/nuget_repository/index.md
View file @
9fce17d2
...
...
@@ -422,3 +422,12 @@ CLI (`dotnet`):
-
`dotnet nuget push`
: Upload a package to the registry.
-
`nuget install`
: Install a package from the registry.
-
`dotnet add`
: Install a package from the registry.
## Troubleshooting
To improve performance, NuGet caches files related to a package. If you encounter issues, clear the
cache with this command:
```
shell
nuget locals all
-clear
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment