当前位置:网站首页>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-07 04:59:00 【Zixia】
Due to the development of npm package It's using TS Developed , Use node xx.js Can't compile TS file Need to install ts-node Package to compile TS file , ts-node xx.ts
When using the command to submit code to npm There was a mistake in the above
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.
translate
npm Make a mistake ! 400 Bad Request - PUT https://registry.npmjs.org/jsbusiness -“devDependencies”dep“@ts-node” Is not a valid dependency name .
Because in devDependencies ( The development environment depends on modules ) Installed ts-node Such packages are not code modules , So use npm At the time of submission Gave us an error prompt , Tell us stay The development environment depends on modules (devDependencies) in There are packages that are not code dependent
Put the dependency module of the prompt in package.json Find , And delete it
边栏推荐
- leetcode 53. Maximum subarray maximum subarray sum (medium)
- Win11 control panel shortcut key win11 multiple methods to open the control panel
- 窗口可不是什么便宜的东西
- Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
- 什么是Web3
- Tree map: tree view - draw covid-19 array diagram
- Some understandings about 01 backpacker
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
- 全国气象数据/降雨量分布数据/太阳辐射数据/NPP净初级生产力数据/植被覆盖度数据
- What is JVM? What are the purposes of JVM tuning?
猜你喜欢
DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)
装饰器基础学习02
Decorator basic learning 02
Analyse approfondie de kubebuilder
程序员上班摸鱼,这么玩才高端!
Flask project uses flask socketio exception: typeerror: function() argument 1 must be code, not str
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
深入解析Kubebuilder
Field data acquisition and edge calculation scheme of CNC machine tools
随机推荐
Flex layout and usage
Introduction to namespace Basics
【愚公系列】2022年7月 Go教学课程 005-变量
【Android Kotlin协程】利用CoroutineContext实现网络请求失败后重试逻辑
当 Knative 遇见 WebAssembly
Thesis landing strategy | how to get started quickly in academic thesis writing
In depth analysis of kubebuilder
STM32F103 realize IAP online upgrade application
【數模】Matlab allcycles()函數的源代碼(2021a之前版本沒有)
Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
01机器学习相关规定
Introduction to the PureMVC series
树与图的深度优先遍历模版原理
Common methods of list and map
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
3GPP信道模型路损基础知识
Liste des hôtes d'inventaire dans ansible (je vous souhaite des fleurs et de la romance sans fin)
How to design API interface and realize unified format return?
Function pointer and pointer function in C language