当前位置:网站首页>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
边栏推荐
- acwing 843. N-queen problem
- Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
- [practice leads to truth] is the introduction of import and require really the same as what is said on the Internet
- 谈谈讲清楚这件事的重要性
- acwing 843. n-皇后问题
- Comparison between thread and runnable in creating threads
- JS variable case
- STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
- Advertising attribution: how to measure the value of buying volume?
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
猜你喜欢
DFS and BFS concepts and practices +acwing 842 arranged numbers (DFS) +acwing 844 Maze walking (BFS)
C语言中函数指针与指针函数
[Yugong series] go teaching course 005 variables in July 2022
Vscode automatically adds a semicolon and jumps to the next line
U++ 游戏类 学习笔记
指针与数组在函数中输入实现逆序输出
Markdown editor
【实践出真理】import和require的引入方式真的和网上说的一样吗
Win11 control panel shortcut key win11 multiple methods to open the control panel
Flask project uses flask socketio exception: typeerror: function() argument 1 must be code, not str
随机推荐
U++ 游戏类 学习笔记
谈谈讲清楚这件事的重要性
R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
JDBC link Oracle reference code
Markdown编辑器
Local tool [Navicat] connects to remote [MySQL] operation
sscanf,sscanf_ S and its related usage "suggested collection"
Talk about the importance of making it clear
【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ
Pointer and array are input in function to realize reverse order output
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
System framework of PureMVC
Thread和Runnable创建线程的方式对比
Oracle -- 视图与序列
为什么很多人对技术债务产生误解
Ansible中的inventory主機清單(預祝你我有數不盡的鮮花和浪漫)
程序员上班摸鱼,这么玩才高端!
Monitoring cannot be started after Oracle modifies the computer name
Basic idea of counting and sorting
计数排序基础思路