当前位置:网站首页>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
然后提示输入包名的时候,以英文小写字母命名包名
边栏推荐
- 做款好喝的茶饮~
- 家·谱——人脸识别家谱系统
- 2021研究生数学建模D题,BP神经网络和卷积神经网络解题代码(基于pytorch)
- LeetCode1166. Designing File Systems
- (2) Docker installs Redis in practice (persistent AOF and RDB snapshots)
- EOF, feof function, ferror function in C language
- Qt 字符串截取 查找字符串
- (3) How Redis performs stress testing
- ClionIDE compiles by specifying the compiler
- LeetCode43. String multiplication (this method can be used to multiply large numbers)
猜你喜欢
随机推荐
深入理解线程、进程、多线程、线程池
【C语言进阶】第一篇深度剖析整数数据在内存中的存储(一)
Some Error in Visual Studio solution
CSDN 社区内容创作规范
怎么用管理员方式打开压缩包
pytorch安装笔记——Pytorch在conda+CUDA10.2环境安装task01
数组的用法
第13章类继承
Redis - the solution to the failure of connecting to the redis server in linux using jedis
Solidrun hummingboard制作SD卡
leetcode21. Merge two ordered linked lists
Flask framework learning: template rendering and Get, Post requests
更新啦~人生重开模拟器自制
c 指针学习(1)
Django--20 implements Redis support, context, and interaction of context and interface
04-开发自己的npm包及发布流程详细讲解
利用rand函数随机生成uuid
CSDN 社区内容创作规范
CSDN 社区内容创作规范
二、Jmeter 核心配置文件









