on 2019 Nov 30 4:04 PM
Hi Experts,
I have created a custom smartedit extension by using ant extgen ycmssmartedit module. I ran the ant npminstall and ant clean build to move my custom extension code changes to cmssmartedit (featureExtensions). It's working absolutely fine in my local machine (Windows 10 64bit). I'm getting build issues when I try to execute ant clean build command on Linux box.
I'm using hybirs 6.7 version. Can anyone suggest what is missing here.
Logs:
[testClassesScanner] Found 1 multicountrysampledataaddon testclasses in 461.6 ?s
[touch] Creating /app/hybris/temp/hybris/touch/multicountrysampledataaddon_testsrctouch
[echo] No impex templates found for multicountrysampledataaddon
[echo] building extension 'smartedit'...
[echo] building extension 'personalizationsampledataaddon'...
[echo] START of calling grunt packageSkipTests on /app/hybris/bin/ext-content/smartedit
[echo] failonerror=NOT SET, default=true, value=true
[echo] Creating node_modules SymLink
[echo] safeUnlink - removing link /app/hybris/bin/ext-content/smartedit/node_modules
[copy] Copying 1 file to /app/hybris/bin/ext-addon/personalizationsampledataaddon
[copy] Copying 1 file to /app/hybris/bin/ext-addon/personalizationsampledataaddon
[touch] Creating /app/hybris/temp/hybris/touch/personalizationsampledataaddon_srctouch
[testClassesScanner] Found 1 personalizationsampledataaddon testclasses in 484.2 ?s
[touch] Creating /app/hybris/temp/hybris/touch/personalizationsampledataaddon_testsrctouch
[echo] safeLink - linking /app/hybris/bin/ext-content/npmancillary/resources/npm/node_modules to /app/hybris/bin/ext-content/smartedit/node_modules
[echo] safeLink - creating symlink on *nix
[echo] safeUnlink - removing link /app/hybris/bin/ext-content/smartedit/package.json
[echo] safeLink - linking /app/hybris/bin/ext-content/npmancillary/resources/npm/package.json to /app/hybris/bin/ext-content/smartedit/package.json
[echo] safeLink - creating symlink on *nix
[echo] Creating the npm .bin directory
[echo] Restoring NPM permissions and sym links lost in packaging process
[exec] chmod: cannot access ‘/app/hybris/bin/ext-content/npmancillary/resources/npm/node_modules/protractor/selenium/chromedriver/chromedriver’: No such file or directory
[exec] Result: 1
[echo] Running grunt packageSkipTests
[exec] Loading "Gruntfile.js" tasks...ERROR
[exec] >> Error: Cannot find module './smartedit-build'
[exec] Warning: Task "packageSkipTests" not found. Use --force to continue.
[exec]
[exec] Aborted due to warnings.
[exec]
[exec]
[exec] Execution Time (2019-11-29 14:49:00 UTC-0)
[exec] loading tasks 10ms ??????????????????????????????????????????????? 100%
[exec] Total 10ms
[exec]
BUILD FAILED
/home/sandboxadmin/hybris_releases/deployPG.xml:72: The following error occurred while executing this line:
/app/hybris/bin/platform/build.xml:20: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/compiling.xml:90: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/compiling.xml:131: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/util.xml:49: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/util.xml:51: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/compiling.xml:138: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/compiling.xml:284: The following error occurred while executing this line:
/app/hybris/bin/platform/resources/ant/util.xml:146: The following error occurred while executing this line:
/app/hybris/bin/ext-content/smartedit/buildcallbacks.xml:68: The following error occurred while executing this line:
/app/hybris/bin/ext-content/npmancillary/buildcallbacks.xml:273: exec returned: 3
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.