npm ERR! A complete log of this run can be found in: npm ERR! F:\Program Files\nodejs\node_cache
npm ERR! code 1npm ERR! path F:\Program Files\nodejs\node_global\node_modules\@vue\cli\node_modules\utf-8-validatenpm ERR! command failednpm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp
·
npm ERR! code 1
npm ERR! path F:\Program Files\nodejs\node_global\node_modules\@vue\cli\node_modules\utf-8-validate
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! �ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�-m�����ء�
npm ERR! validation.c
npm ERR! win_delay_load_hook.cc
npm ERR! C:\\Users\\lenovo\\AppData\\Local\\node-gyp\\Cache\\14.17.5\\x64\\node.lib : fatal error LNK1107: �ļ���Ч����: ���� 0x6CCA8A ����ȡ [F:\Program Files\nodejs\node_global\node_modules\@vue\cli\node_modules\utf-8-validate\build\validation.vcxproj]
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@14.17.5 | win32 | x64
npm ERR! gyp info find Python using Python version 3.8.5 found at "E:\python\python.exe"
npm ERR! gyp info find VS using VS2019 (16.8.30717.126) found at:
npm ERR! gyp info find VS "D:\visual studio"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn E:\python\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'F:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'F:\\Program Files\\nodejs\\node_global\\node_modules\\@vue\\cli\\node_modules\\utf-8-validate\\build\\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'F:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\\Users\\lenovo\\AppData\\Local\\node-gyp\\Cache\\14.17.5\\include\\node\\common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\lenovo\\AppData\\Local\\node-gyp\\Cache\\14.17.5',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=F:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\lenovo\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\14.17.5\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=F:\\Program Files\\nodejs\\node_global\\node_modules\\@vue\\cli\\node_modules\\utf-8-validate',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'F:\\Program Files\\nodejs\\node_global\\node_modules\\@vue\\cli\\node_modules\\utf-8-validate\\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn D:\visual studio\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `D:\visual studio\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (F:\Program Files\nodejs\node_global\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (events.js:400:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "F:\\Program Files\\nodejs\\node.exe" "F:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd F:\Program Files\nodejs\node_global\node_modules\@vue\cli\node_modules\utf-8-validate
npm ERR! gyp ERR! node -v v14.17.5
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! F:\Program Files\nodejs\node_cache\_logs\2021-09-23T11_55_38_535Z-debug.log
切换淘宝镜像
npm install -g cnpm --registry=http://registry.npm.taobao.org
安装vue3.0
cnpm install -g @vue/cli
更多推荐
已为社区贡献4条内容
所有评论(0)