当前位置:网站首页>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
边栏推荐
- Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
- Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
- Time complexity & space complexity
- Introduction to namespace Basics
- Kivy tutorial of setting the size and background of the form (tutorial includes source code)
- Ansible中的inventory主机清单(预祝你我有数不尽的鲜花和浪漫)
- MySQL forgot how to change the password
- 日常工作中程序员最讨厌哪些工作事项?
- Jetson nano配置pytorch深度学习环境//待完善
- 指针与数组在函数中输入实现逆序输出
猜你喜欢
U++4 接口 学习笔记
R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
Vscode automatically adds a semicolon and jumps to the next line
Why do many people misunderstand technical debt
A row of code r shows the table of Cox regression model
指针与数组在函数中输入实现逆序输出
九章云极DataCanvas公司蝉联中国机器学习平台市场TOP 3
Analyse approfondie de kubebuilder
Basic idea of counting and sorting
A simple and beautiful regression table is produced in one line of code~
随机推荐
【736. Lisp 语法解析】
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
Canteen user dish relationship system (C language course design)
Vscode automatically adds a semicolon and jumps to the next line
Markdown编辑器
namespace基础介绍
STM32F103实现IAP在线升级应用程序
Inventory host list in ansible (I wish you countless flowers and romance)
Leetcode notes
A simple and beautiful regression table is produced in one line of code~
Tiktok may launch an independent grass planting community platform: will it become the second little red book
深入解析Kubebuilder
PLC Analog output analog output FB analog2nda (Mitsubishi FX3U)
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
Thread和Runnable创建线程的方式对比
【數模】Matlab allcycles()函數的源代碼(2021a之前版本沒有)
Read of shell internal value command
计数排序基础思路
Run the command once per second in Bash- Run command every second in Bash?