简体   繁体   English

Npm 发布失败并出现 400 错误请求

[英]Npm publish is failing with 400 Bad Request

I am trying to publish @babel/runtime package into my gitlab registry and while doing so i am facing E400 error.我正在尝试将@babel/runtime package 发布到我的 gitlab 注册表中,这样做时我面临 E400 错误。 Adding the error logs below在下面添加错误日志

npm notice === Tarball Details ===
npm notice name:          @babel/runtime
npm notice version:       7.18.9
npm notice package size:  30.2 kB
npm notice unpacked size: 202.4 kB
npm notice shasum:        dd63a562109741efdb37bd99af6873c143ea4f92
npm notice integrity:     sha512-V6s46s886z0JV[...]zG4PMb7qvVVSA==
npm notice total files:   193
npm notice
npm ERR! code E400
npm ERR! 400 Bad Request - PUT https://gitlab.server.net/api/v4/projects/69/packages/npm/@babel%2fruntime
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/gitlab/.npm/_logs/2022-08-29T11_16_10_937Z-debug.log

adding the details of npmrc below在下面添加 npmrc 的详细信息

//gitlab.server.net/api/v4/projects/69/packages/npm/:_authToken={AUTH_TOKEN}
registry=https://gitlab.server.net/api/v4/projects/69/packages/npm/

Almost certainly you're violating the package naming guidelines - unless your group name is @babel .几乎可以肯定你违反了package 命名准则——除非你的组名是@babel

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 谷歌云功能 - SendGrid - 400 错误请求 - Google Cloud Function - SendGrid - 400 Bad Request stackdriver 查询抛出 400 GoogleJsonResponseException:400 错误请求“请求包含无效参数” - stackdriver query throws 400 GoogleJsonResponseException: 400 Bad Request "Request contains an invalid argument" 错误请求 [400],FCM 旧版 HTTP API 和 Retrofit - Bad Request [400], FCM Legacy HTTP API with Retrofit 为什么这个调用在使用 session.mount() 时返回 400 错误请求 - Why this call return 400 bad request when using session.mount() 无法使用 RIOFS 在 EC2 上安装 S3 - HTTP 错误:400(错误请求) - Unable to mount S3 on EC2 using RIOFS - HTTP error: 400 (Bad Request) 密码后和 MFA 前的 AWS 控制台登录错误 400 错误请求 - AWS console sign in error 400 bad request after password and before MFA npm 在 AWS Elastic Beanstalk 上运行生产失败 - npm run production failing on AWS Elastic Beanstalk 尝试使用 preSignedUrl 将图像上传到 aws s3 存储桶时出现 400 错误请求错误。 出了什么问题? - I am getting 400 bad request error while trying to upload image to aws s3 bucket using preSignedUrl. What is going wrong? 从谷歌云返回的错误请求 function - Bad request returned from google cloud function Google Classroom 推送通知请求导致代码 400:前提条件失败 - Google Classroom push notification request causes Code 400: Failed Precondition
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM