版本信息
nodejs16
window10
报错
感叹
当时感觉十分疑惑,在网上找了很多帖子说是什么淘宝镜像的问题
要把.vuerc里的是否使用淘宝仓库改为true或者false
在我实践下来完全没有用,包括我也看了一些解决的帖子,其实都是在糊弄人,完全没有在根本上解决问题,甚至令我感到寒心的是,居然没找到有人在有报错之后会去查找相关日志来解决问题!
所以我本这求真的态度一行一行查看报错信息和错误日志
错误翻译:
npm错误!代码1
npm错误!路径C:\Users\Syf200208161018\Desktop\PackingGo\front\u vue\pro\node\u modules\node sass
npm错误!命令失败
npm错误!命令C:\WINDOWS\system32\cmd.exe/d/s/C node scripts/build.js
npm错误!构建:D:\nodejs\node.exe C:\Users\Syf200208161018\Desktop\packingo\front\u vue\pro\node\u modules\node gyp\bin\node-gyp.js rebuild--verbose--libsass\u ext=--libsass\u cflags=--libsass\u ldflags=--libsass\u库=
npm错误!gyp信息如果以ok结尾,它就起作用了
npm错误!动词cli[
npm ERR!gyp动词cli'D:\\nodejs\\node.exe',
npm ERR!gyp动词cli'C:\\Users\\Syf200208161018\\Desktop\\PackingGo\\front\u vue\\pro\\node\u modules\\node gyp\\bin\\node gyp.js',
npm ERR!gyp动词cli“重建”,
npm ERR!gyp动词cli'--verbose',
npm ERR!gyp动词cli'--libsass_ext=',
npm ERR!gyp动词cli'--libsass_cflags=',
npm ERR!gyp动词cli'--libsass_ldflags=',
npm ERR!gyp动词cli'--libsass_library='1!'
npm ERR!gyp动词cli]
npm错误!gyp信息使用节点[email protected]
npm错误!gyp信息使用[email protected]| win32 | x64
npm错误!gyp谓词命令重新生成[]
npm错误!gyp动词命令clean[]
npm错误!gyp谓词清除删除“build”目录
npm错误!gyp谓词命令配置[]
npm错误!使用disturl下载gyp动词https://oss.npmmirror.com/dist/node
npm错误!gyp谓词检查python检查路径中的python可执行文件“python2”
npm错误!gyp动词`which`失败错误:未找到:python2
npm错误!gyp动词`which`在getNotFoundError时失败(C:\Users\Syf200208161018\Desktop\PackingGo\前台\u vue\pro\node\u modules\which\which.js:13:12)
npm错误!gyp动词'which`在F处失败(C:\Users\Syf200208161018\Desktop\packingo\front\u vue\pro\node\u modules\which\which.js:68:19)
npm错误!gyp动词'which`在E处失败(C:\Users\Syf200208161018\Desktop\packingo\front\u vue\pro\node\u modules\which\which.js:80:29)
npm错误