当前位置:网站首页>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语言版通讯录——动态存储(进阶版)
- Introduction of several ways to initialize two-dimensional arrays in C language (private way to initialize large arrays)
- 第13章类继承
- 【win10+cuda7.5+cudnn6.0安装caffe①】安装cuda和cudnn
- [转载]Verilog testbench总结
- win下Anaconda(环境配置等)和pycharm安装详细教程
- 更新啦~人生重开模拟器自制
- 第8章 函数探幽-2
- Some writing skills commonly used in Markdown
- 第4章 复合类型-2(指针)
猜你喜欢
随机推荐
imx6 yocto编译备忘
C语言——文件操作函数 fseek、ftell、rewind详解
[C language from elementary to advanced] Part 1 Initial C language (1)
【win10+cuda7.5+cudnn6.0安装caffe③】编译及测试caffe
win下clion打包的.exe文件在无运行环境的电脑运行显示缺失各种.dll
C语言版——通讯录进阶(文件版本)
gradle-wrapper.jar description
Visual Studio上一些Error的解决方案
Redis - the solution to the failure of connecting to the redis server in linux using jedis
一、Jmeter环境部署
第9章 内存模型和名称空间
吃瓜教程task05 第6章 支持向量机
Randomly generate uuid using rand function
PCIe 接口 引脚定义 一览表
看完这篇博客之后,含着泪学会了TCP/IP
【win10+cuda7.5+cudnn6.0安装caffe②】安装Visual Studio 2013和caffe
Chapter 5 Loops and Relational Expressions
性能效率测试
做款好喝的茶饮~
LeetCode1166.设计文件系统









