当前位置:网站首页>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语言结构体——位段概念的讲解
- c pointer learning (2)
- LeetCode1166. Designing File Systems
- uniapp获取用户信息(登录及个人中心页面的实现)
- 【记录】ES6
- 一张图带你解读--如何从零开始学习接口自动化
- [C language from elementary to advanced] Part 2 Initial C language (2)
- (1) Docker installs Redis in practice (one master, two slaves, three sentinels)
- 软件测试风险识别
- task03 Pytorch模型定义
猜你喜欢
05-JS中的BOM和DOM
(2) Construction of a real-time performance monitoring platform (Grafana+Prometheus+Jmeter)
06-JS定时器:间隔定时器、延时定时器
在项目中使用flex布局的justify-content:space-around;遇到的问题,(数量为单数)
pytorch安装笔记——Pytorch在conda+CUDA10.2环境安装task01
生成用户的唯一标识(openId),并且加密
05-Nodejs中的模块加载机制
C语言自定义类型——枚举类型讲解
03-npm安装包详解,解决npm下载慢的问题,引入nrm等
task03 Pytorch模型定义
随机推荐
【记录】innerHeight?clientHeight?offsetHeight?scrollTop?screenTop?.....一堆高度傻傻分不清
03-npm安装包详解,解决npm下载慢的问题,引入nrm等
简单做份西红柿炒蛋778
QT GrabWindow截取屏幕
函数怎么用
CSDN 社区内容创作规范
pytorch中tensor 生成的函数
PCIe 接口 引脚定义 一览表
LeetCode43. String multiplication (this method can be used to multiply large numbers)
[C language from elementary to advanced] Part 2 Initial C language (2)
Chapter 13 Class Inheritance-1
04-开发自己的npm包及发布流程详细讲解
Introduction of several ways to initialize two-dimensional arrays in C language (private way to initialize large arrays)
深入理解线程、进程、多线程、线程池
CSDN 社区内容创作规范
更新啦~人生重开模拟器自制
QtDataVisualization 数据3D可视化
【分享】一个免费语料库
Django--20 implements Redis support, context, and interaction of context and interface
C语言版——通讯录进阶(文件版本)