FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
10-26-2022 09:05 PM
Build enviroment information:
ctrlX Works: Version: 1.14.1
SDK-V-0116
Problem Information:
Last few lines when building any of the examples on two different virtual build environments (ctrlx works) is the following:
+ npm install -g --prefix /home/boschrexroth/ctrlx-automation-sdk/samples-node/datalayer.client.browse/parts/app/install datalayer-client-browse-1.0.0.tgz --only=prod --production --no-fund
npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.
npm WARN config production Use `--omit=dev` instead.
added 100 packages, and audited 101 packages in 15s
found 0 vulnerabilities
++ npm -s run env echo '$npm_package_name'
+ package_name='$npm_package_name'
+ prebuilds_location='/home/boschrexroth/ctrlx-automation-sdk/samples-node/datalayer.client.browse/parts/app/install/lib/node_modules/$npm_package_name/node_modules/ctrlx-datalayer/prebuilds'
+ find '/home/boschrexroth/ctrlx-automation-sdk/samples-node/datalayer.client.browse/parts/app/install/lib/node_modules/$npm_package_name/node_modules/ctrlx-datalayer/prebuilds' -type f -not -ipath '*/linux-x64*' -delete
find: ‘/home/boschrexroth/ctrlx-automation-sdk/samples-node/datalayer.client.browse/parts/app/install/lib/node_modules/$npm_package_name/node_modules/ctrlx-datalayer/prebuilds’: No such file or directory
Failed to run 'override-build': Exit code was 1.
The ++ npm -s run env echo '$npm_package_name' seems to be the line that is returning '$npm_package_name' instead of npm which is the directory name
Solved! Go to Solution.
11-02-2022 11:36 AM
Hi,
many thanks for reporting this issue. I was able to reproduce the problem and forwarded it.
I will let you know as soon, as I got new for you.
Best regards,
Nick
01-09-2023 09:52 AM
Hello,
sorry for the late reply.
This issue got fixed with the released version 1.18 of the SDK.
Best regards,
Nick