当前位置:网站首页>npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
2022-08-11 05:17:00 【肖肖冲鸭】
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! Invalid name: "仿网易商城"
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\D\AppData\Local\npm-cache\_logs\2022-07-23T04_38_11_444Z-debug-0.log
这里报错的原因是因为使用npm init -y创建package.json自动把项目名作为包名了,但是包名不允许含有中文,所以得自己手动命名包名,命令如下:
npm init
然后提示输入包名的时候,以英文小写字母命名包名
边栏推荐
- 标准模板题:采药
- C语言之EOF、feof函数、ferror函数
- Install different versions of MinGW (g++/gcc) and the configuration of the corresponding clion editor under Win
- 自制病毒——整蛊
- 在项目中使用flex布局的justify-content:space-around;遇到的问题,(数量为单数)
- 【记录】TypeScript
- (3) Construction of a real-time performance monitoring platform (Grafana+Prometheus+Node_explorer+Jmeter)
- 03-npm安装包详解,解决npm下载慢的问题,引入nrm等
- 程序员小白的自我救赎之路。
- Minecraft
猜你喜欢
C语言动态内存分配(1)三种函数讲解
家·谱——人脸识别家谱系统
05-Nodejs中的模块加载机制
【win10+cuda7.5+cudnn6.0安装caffe⑥】报错及处理方式
Flask framework learning: template inheritance
吃瓜教程task02 第3章 线性模型
C语言结构体详解 (2) 结构体内存对齐,默认对齐数
(1) Docker installs Redis in practice (one master, two slaves, three sentinels)
在项目中使用flex布局的justify-content:space-around;遇到的问题,(数量为单数)
深入理解线程、进程、多线程、线程池
随机推荐
【win10+cuda7.5+cudnn6.0安装caffe④】安装pycaffe
(2) Docker installs Redis in practice (persistent AOF and RDB snapshots)
(1) Docker installs Redis in practice (one master, two slaves, three sentinels)
LeetCode1166.设计文件系统
RK3399上的Tengine实践笔记
CSDN 社区内容创作规范
组件间通信
08-Express路由详解
npm install 时报 npm ERR Cannot read properties of null (reading ‘pickAlgorithm‘)
第10章 对象和类 -1
ClionIDE通过指定编译器编译
【win10+cuda7.5+cudnn6.0安装caffe②】安装Visual Studio 2013和caffe
Introduction of several ways to initialize two-dimensional arrays in C language (private way to initialize large arrays)
09-ES6语法:变量、箭头函数、类语法、静态属性及非静态属性
看完这篇博客之后,含着泪学会了TCP/IP
二、Jmeter 核心配置文件
06-引入Express创建web服务器、接口封装并使用postman测试,静态资源托管
C语言自定义数据类型——联合体
(3) Construction of a real-time performance monitoring platform (Grafana+Prometheus+Node_explorer+Jmeter)
05-JS中的BOM和DOM