当前位置:网站首页>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
边栏推荐
- Code source de la fonction [analogique numérique] MATLAB allcycles () (non disponible avant 2021a)
- Run the command once per second in Bash- Run command every second in Bash?
- Programmers go to work fishing, so play high-end!
- JS variable case
- Can I specify a path in an attribute to map a property in my class to a child property in my JSON?
- Ansible中的inventory主机清单(预祝你我有数不尽的鲜花和浪漫)
- leetcode 53. Maximum subarray maximum subarray sum (medium)
- Ansible中的inventory主機清單(預祝你我有數不盡的鮮花和浪漫)
- A line of R code draws the population pyramid
- STM32F103ZE+SHT30检测环境温度与湿度(IIC模拟时序)
猜你喜欢
随机推荐
Liste des hôtes d'inventaire dans ansible (je vous souhaite des fleurs et de la romance sans fin)
leetcode 53. Maximum Subarray 最大子数组和(中等)
Ansible overview and module explanation (you just passed today, but yesterday came to your face)
Kivy tutorial of setting the size and background of the form (tutorial includes source code)
【实践出真理】import和require的引入方式真的和网上说的一样吗
Two methods of chromosome coordinate sequencing
Local tool [Navicat] connects to remote [MySQL] operation
程序员上班摸鱼,这么玩才高端!
Jetson nano配置pytorch深度学习环境//待完善
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
offer如何选择该考虑哪些因素
Markdown editor
File upload vulnerability summary
Ansible中的inventory主機清單(預祝你我有數不盡的鮮花和浪漫)
Run the command once per second in Bash- Run command every second in Bash?
【數模】Matlab allcycles()函數的源代碼(2021a之前版本沒有)
【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
Can I specify a path in an attribute to map a property in my class to a child property in my JSON?
01机器学习相关规定









