Smart Edit构建失败6.2版本:Grunt错误

2020-09-08 06:54发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


[echo]开始在C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ smartedit上调用grunt clean [echo] failonerror = NOT SET,默认= true,value = true [echo] 在C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \中创建到C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ npmancillary \ resources \ npm \ node_modules的链接 smartedit \ node_modules [exec]该文件已存在时无法创建该文件。 [exec]结果:1 [echo]运行grunt clean [exec] grunt-cli:grunt命令行界面。 (v0.1.13)[exec] [exec]致命错误:无法找到本地咕unt声。 [exec] [exec]如果看到此消息,则说明找不到Gruntfile或未在项目本地安装grunt [exec]。 有关[exec]安装和配置grunt的更多信息,请参见《入门指南》:[exec] [exec] http: //gruntjs.com/getting-started

建立失败的C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ build.xml:58:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:563:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:616: 执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ util.xml:22:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:618:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:636:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybri s \ bin \ platform \ resources \ ant \ util.xml:146:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ smartedit \ buildcallbacks.xml: 44:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ npmancillary \ buildcallbacks.xml:268:exec返回:99

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


[echo]开始在C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ smartedit上调用grunt clean [echo] failonerror = NOT SET,默认= true,value = true [echo] 在C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \中创建到C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ npmancillary \ resources \ npm \ node_modules的链接 smartedit \ node_modules [exec]该文件已存在时无法创建该文件。 [exec]结果:1 [echo]运行grunt clean [exec] grunt-cli:grunt命令行界面。 (v0.1.13)[exec] [exec]致命错误:无法找到本地咕unt声。 [exec] [exec]如果看到此消息,则说明找不到Gruntfile或未在项目本地安装grunt [exec]。 有关[exec]安装和配置grunt的更多信息,请参见《入门指南》:[exec] [exec] http: //gruntjs.com/getting-started

建立失败的C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ build.xml:58:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:563:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:616: 执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ util.xml:22:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:618:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ platform \ resources \ ant \ antmacros.xml:636:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybri s \ bin \ platform \ resources \ ant \ util.xml:146:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ smartedit \ buildcallbacks.xml: 44:执行此行时发生以下错误:C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P_2 \ hybris \ bin \ ext-content \ npmancillary \ buildcallbacks.xml:268:exec返回:99

付费偷看设置
发送
13条回答
何必丶何苦呢
1楼 · 2020-09-08 07:29.采纳回答

我通过以下步骤解决了这个问题:

  1. 从HYBRISCOMM6200P \ hybris \ bin \ ext-content \ cmssmartedit和smartedit和personalizationsmartedit中删除的node_modules

  2. 在上述所有3个扩展的Gruntfile.js中添加了reporterOutput:"

  3. 然后ANT CLEAN ALL-成功构建

三十六小时_GS
2楼-- · 2020-09-08 07:45

对我来说,ext-backoffice-> backoffice也包含node_modules ..必须删除它。.

小灯塔
3楼-- · 2020-09-08 07:46

在注释/删除中添加所有smartedit扩展,然后它将起作用。 问候,信德。

吹牛啤
4楼-- · 2020-09-08 07:50

附加了 alt text localextensions.xml

callcenter油条
5楼-- · 2020-09-08 07:33

HI Sindhu,我的系统是64位和8 GB内存。 仍然出现此错误-

[echo]在C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P \ hybris \中创建到C:\ Shrikant \ Projects \ Capability \ HYBRISCOMM6200P \ hybris \ bin \ ext-content \ npmancillary \ resources \ npm \ node_modules的链接 bin \ ext-content \ cmssmartedit \ node_modules [exec]当该文件已经存在时,无法创建该文件。 [exec]结果:1 [echo]运行grunt packageSkipTests [exec] grunt-cli:grunt命令行界面。 (v0.1.13)[exec]

[exec]致命错误:无法找到本地咕unt声。

[exec]

[exec]如果看到此消息,则说明找不到Gruntfile或grunt

[exec]尚未在您的项目本地安装。 有关[exec]安装和配置grunt的更多信息,请参见《入门指南》:[exec]

[exec] http://gruntjs.com/getting-started

何必丶何苦呢
6楼-- · 2020-09-08 07:51

为我工作。 谢谢

微wx笑
7楼-- · 2020-09-08 07:52

以管理员权限运行命令提示符(右键单击Windows/"开始"图标–命令提示符(Admin),而不仅仅是命令提示符)。 在hybris/bin/platform下运行" ant npminstall"。

一周热门 更多>