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
d7c3edee
Commit
d7c3edee
authored
Aug 20, 2020
by
Tim Rizzi
Committed by
Suzanne Selhorn
Aug 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note to NPM Registry docs about issue when token starts with dash
parent
1a8fc97b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
doc/user/packages/npm_registry/index.md
doc/user/packages/npm_registry/index.md
+1
-0
No files found.
doc/user/packages/npm_registry/index.md
View file @
d7c3edee
...
...
@@ -377,6 +377,7 @@ NPM_TOKEN=<your_token> npm install
### `npm install` returns `npm ERR! 403 Forbidden`
-
Check that your token is not expired and has appropriate permissions.
-
Check that
[
your token does not begin with `-`
](
https://gitlab.com/gitlab-org/gitlab/-/issues/235473
)
.
-
Check if you have attempted to publish a package with a name that already exists within a given scope.
-
Ensure the scoped packages URL includes a trailing slash:
-
Correct:
`//gitlab.com/api/v4/packages/npm/`
...
...
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