建议从底下向上来看
8 npm警告可选跳过可选依赖:fsevents@1.2.7 (node_ modules\fsevents):
npm WARN notsup跳过可选依赖项:Unsupported platform fo fsevents@1.2.7: wanted {“os”:“darwin”,“arch”:“any”}(当前:{“os”:" win32",“arch”:“x64”})
以59.735秒审核23896个包
发现8个中度严重漏洞
运行“npm审计修复程序”来修复它们,或者运行“npm审计程序”以获得详细信息
npm uninstall -g @vue/cli
npm install -g @vue/cli
7 Module parse failed: Unexpected character ‘’ (1:0)You may need an appropriate loader to handle this file type.
这样还不行,我发现js文件被锁了,求助公司的安全员
6 npm install -g @vue/cli 的时候
错误1 errno -4075
path C:\Users\Administrator\AppData\Roaming\npm\node_modules@vue\cli\n ode_modules\download
npm ERR! code EEXIST
npm ERR! errno -4075
npm ERR! syscall mkdir
npm ERR! EEXIST: file already exists, mkdir ‘C:\Users\Administrator\AppData\Roam ing\npm\node_modules@vue\cli\node_modules\download’
npm ERR! File exists: C:\Users\Administrator\AppData\Roaming\npm\node_modules@v ue\cli\node_modules\download
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-03-16T1 1_58_02_331Z-debug.log
错误2
![在这里插入图片描述](https://img-blog.csdnimg.cn/20190318135638117.png?x-oss-process=image/watermark,
真题解析、进阶学习笔记、最新讲解视频、实战项目源码、学习路线大纲
详情关注公中号【编程进阶路】
type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2Zlbmd0aW5nWWFu,size_16,color_FFFFFF,t_70) 解决办法: 直接删掉全局安装的vue的模块包
,
下好了
5 errno -4058 又是这个错
网上有人说这样,但是我的不管用
npm config set registry https://registry.npm.taobao.org
npm info underscore (如果上面配置正确这个命令会有字符串response)
https://github.com/npm/npm/issues/10187
最后
本人分享一下这次字节跳动、美团、头条等大厂的面试真题涉及到的知识点,以及我个人的学习方法、学习路线等,当然也整理了一些学习文档资料出来是给大家的。知识点涉及比较全面,包括但不限于前端基础,HTML,CSS,JavaScript,Vue,ES6,HTTP,浏览器,算法等等
前端视频资料:
习文档资料出来是给大家的。知识点涉及比较全面,包括但不限于前端基础,HTML,CSS,JavaScript,Vue,ES6,HTTP,浏览器,算法等等
[外链图片转存中…(img-mCvUYSrx-1720770194587)]
前端视频资料: