当前位置:网站首页>npm ERR! 400 Bad Request - PUT xxx - “devDependencies“ dep “xx“ is not a valid dependency name
npm ERR! 400 Bad Request - PUT xxx - “devDependencies“ dep “xx“ is not a valid dependency name
2022-07-06 22:14:00 【自夏】
由于在开发npm包 是使用TS 开发的,使用 node xx.js 无法编译TS 文件 需要安装 ts-node 包来编译TS 文件, ts-node xx.ts
当使用命令提交代码到npm 上面时出现了得错误
npm ERR! code E400
npm ERR! 400 Bad Request - PUT https://registry.npmjs.org/jsbusiness - “devDependencies” dep “@ts-node” is not a valid dependency name.
翻译
npm犯错! 400 Bad Request - PUT https://registry.npmjs.org/jsbusiness -“devDependencies”dep“@ts-node”不是一个有效的依赖名称。
因为在 devDependencies (开发环境依赖模块)安装了ts-node 这样的不是代码模块的包,所以使用npm 提交的时候 给我们了错误提示,告诉我们 在 开发环境依赖模块 (devDependencies)里 存在不是代码依赖的包
把提示的依赖模块在 package.json 中找到,并删除即可
边栏推荐
- Win11截图键无法使用怎么办?Win11截图键无法使用的解决方法
- A detailed explanation of head pose estimation [collect good articles]
- Field data acquisition and edge calculation scheme of CNC machine tools
- 《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
- Intel and Xinbu technology jointly build a machine vision development kit to jointly promote the transformation of industrial intelligence
- Fiance donated 500million dollars to female PI, so that she didn't need to apply for projects, recruited 150 scientists, and did scientific research at ease!
- Master the secrets of software security testing methods, and pinch the security test report with your hands
- Wechat can play the trumpet. Pinduoduo was found guilty of infringement. The shipment of byte VR equipment ranks second in the world. Today, more big news is here
- 深入解析Kubebuilder
- 英特尔与信步科技共同打造机器视觉开发套件,协力推动工业智能化转型
猜你喜欢
Vscode automatically adds a semicolon and jumps to the next line
R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
How to solve the problem of adding RTSP device to easycvr cluster version and prompting server ID error?
图灵诞辰110周年,智能机器预言成真了吗?
窗口可不是什么便宜的东西
acwing 843. n-皇后问题
Network Security Learning - Information Collection
mpf2_线性规划_CAPM_sharpe_Arbitrage Pricin_Inversion Gauss Jordan_Statsmodel_Pulp_pLU_Cholesky_QR_Jacobi
深入解析Kubebuilder
随机推荐
MySQL forgot how to change the password
Detect when a tab bar item is pressed
九章云极DataCanvas公司蝉联中国机器学习平台市场TOP 3
Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
namespace基础介绍
各路行业大佬称赞的跨架构开发“神器”,你get同款了吗?
JetBrain Pycharm的一系列快捷键
什么是Web3
EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
Win11远程桌面连接怎么打开?Win11远程桌面连接的五种方法
《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
Programmers go to work fishing, so play high-end!
Section 1: (3) logic chip process substrate selection
Break the memory wall with CPU scheme? Learn from PayPal to expand the capacity of aoteng, and the volume of missed fraud transactions can be reduced to 1/30
[digital analog] source code of MATLAB allcycles() function (not available before 2021a)
How to solve the problem of adding RTSP device to easycvr cluster version and prompting server ID error?
[line segment tree practice] recent requests + area and retrieval - array modifiable + my schedule I / III
What is JVM? What are the purposes of JVM tuning?
Optimization of channel status offline of other server devices caused by easycvr cluster restart
leetcode 53. Maximum subarray maximum subarray sum (medium)