问题描述
我们一直在尝试构建XTerm,(在克服了许多障碍之后)我们目前仍停留在此:想法?已安装纱线。
Preparing xterm-addon-ligatures npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] package: webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] package script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rafal\AppData\Roaming\npm-cache_logs\2020-08-25T15_17_40_075Z-debug.log
error Command failed with exit code 2.
child_process.js:644
throw err;
^
Error: Command failed: yarn
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] package: webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] package script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rafal\AppData\Roaming\npm-cache_logs\2020-08-25T15_17_40_075Z-debug.log
error Command failed with exit code 2.
at checkExecSyncError (child_process.js:601:13)
at Object.execSync (child_process.js:641:13)
at files.forEach.folder (D:\xterm\bin\install-addons.js:47:14)
at Array.forEach (<anonymous>)
at fs.readdir (D:\xterm\bin\install-addons.js:28:11)
at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] presetup: node ./bin/install-addons.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] presetup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rafal\AppData\Roaming\npm-cache_logs\2020-08-25T15_17_40_136Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: npm run setup
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rafal\AppData\Roaming\npm-cache_logs\2020-08-25T15_17_40_167Z-debug.log`
其他日志信息:
52愚蠢的postinstall [email protected] 53信息生命周期 [email protected]安装后:[email protected] 54愚蠢的预发布[email protected] 55 信息生命周期[email protected]:[email protected] 56信息生命周期 [email protected]准备:[email protected] 57详细生命周期 [email protected]:生命周期中的unsafe-perm true 58详细生命周期 [email protected]准备:路径:C:\ Program 文件\ nodejs \ node_modules \ npm \ bin \ node-gyp-bin; D:\ xterm \ node_modules.bin; C:\ Users \ rafal \ Documents \ ffmpeg-20190815-ddd92ba-win64-static \ bin; D:\ Oculus \ Support \ oculus-runtime; C:\ Program 文件(x86)\公共文件\ Oracle \ Java \ javapath; C:\ Program文件 (x86)\ Common Files \ Intel \ Shared 库\ redist \ intel64 \ compiler; C:\ ProgramData \ Oracle \ Java \ javapath; C:\ Windows \ system32; C:\ Windows; C:\ Windows \ System32 \ Wbem; C:\ Windows \ System32 \ WindowsPowerShell \ v1 .0; C:\ Program 文件\ Microsoft SQL Server \ 130 \ Tools \ Binn; C:\ Program 文件\ dotnet; C:\ Users \ rafal \ AppData \ Local \ Programs \ Python \ Python36; C:\ WINDOWS \ system32; C:\ WINDOWS; C:\ WINDOWS \ System32 \ Wbem; C:\ WINDOWS \ System32 \ WindowsPowerShell \ v1.0; C:\ Program 文件(x86)\ Windows Live \ Shared; C:\ Program Files \ nodejs; C:\ Program 文件(x86)\ WinSCP; C:\ Program Files \ TortoiseSVN \ bin; C:\ Program Files (x86)\ GnuWin32 \ bin; C:\ Program Files \ CMake \ bin; C:\ Program Files \ Git \ cmd; C:\ Program Files \ Mercurial; C:\ Program Files (x86)\ QuickTime \ QTSystem; C:\ Program Files \ MiKTeX 2.9 \ miktex \ bin \ x64; C:\ Program Files \ Intel \ WiFi \ bin; C:\ Program Files \ Common ; C:\ WINDOWS \ system32; C:\ WINDOWS; C:\ WINDOWS \ System32 \ Wbem; C:\ WINDOWS \ System32 \ WindowsPowerShell \ v1.0; C:\ WINDOWS \ System32 \ OpenSSH; C:\ Program 文件(x86)\ Gpg4win .. \ GnuPG \ bin; C:\ Program Files(x86)\ Microsoft SQL 服务器\ 150 \ DTS \ Binn; C:\ Program Files \ PuTTY; C:\ Program Files \ Microsoft SQL Server \客户端 SDK \ ODBC \ 170 \ Tools \ Binn; C:\ Users \ rafal.windows-build-tools \ python27; C:\ Users \ rafal.windows-build-tools \ python27; C:\ Users \ rafal \ AppData \ Local \ Microsoft \ WindowsApps; C:\ Users \ rafal \ AppData \ Local \ atom \ bin; C:\ Users \ rafal \ AppData \ Local \ Microsoft \ WindowsApps; C:\ Users \ rafal \ AppData \ Roaming \ npm; C: \程序 文件(x86)\ Nmap; C:\ Program Files \ Common 文件\ Intel \ WirelessCommon; C:\ Users \ rafal \ Documents \ vcpkg-master; C:\ Users \ rafal.dotnet \ tools; C:\ Program Files \ Git \ usr \ bin; C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ MSBuild \ 15.0 \ Bin 59详细生命周期 [email protected]准备:CWD:D:\ xterm 60愚蠢的生命周期 [email protected]:Args:['/ d / s / c','npm run setup'] 61傻 生命周期[email protected]准备:返回:代码:1信号:空62信息 生命周期[email protected]~prepare:无法执行脚本63 详细堆栈错误:[email protected]准备:npm运行安装程序63详细 堆栈退出状态1 63 EventEmitter上的详细堆栈。 (C:\ Program 文件\ nodejs \ node_modules \ npm \ node_modules \ npm-lifecycle \ index.js:280:16) 在63处出现63详细堆栈(events.js:126:13)在63处详细堆栈 EventEmitter.emit(events.js:214:7)63 ChildProcess上的详细堆栈。 (C:\ Program 文件\ nodejs \ node_modules \ npm \ node_modules \ npm-lifecycle \ lib \ spawn.js:55:14) 在63处出现63详细堆栈(events.js:126:13)在63处详细堆栈 ChildProcess.emit(events.js:214:7)63可能关闭时的详细堆栈 (internal / child_process.js:925:16)63详细堆栈位于 Process.ChildProcess._handle.onexit(内部/child_process.js:209:5) 64详细pkgid [email protected] 65详细cwd D:\ xterm 66详细 Windows_NT 10.0.18363 67详细argv“ C:\ Program Files \ nodejs \ node.exe“” C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ npm-cli.js“”安装“ 68详细 节点v8.9.1 69详细npm v5.5.1 70错误代码ELIFECYCLE 71错误 errno 1 72错误[email protected]准备:npm运行安装程序72错误退出 状态1 73错误在[email protected]准备脚本上失败。 73错误 npm可能不是问题。可能还有其他 上面的日志输出。 74详细出口[1,正确]
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)