「ENOENT」エラーが表示される理由: Oracle Visual Builder Studioでカスタム・オブジェクトを公開するときに、そのようなファイルまたはディレクトリはありませんか。
CX拡張ジェネレータを使用してカスタム・オブジェクトUIを作成した場合は、VB Studioから既存の拡張をインポートするのではなく、新しい拡張を作成した可能性があります。 「新規拡張の作成」ボタンを使用できるのは、環境に初めてアプリケーションを構成するときのみです。 gruntfile.jsの既存のJavaScriptを次のコードに置き換えることで、問題を修正できます。
'use strict';
/**
* Visual Builder application build script.
* For details about the application build and Visual Builder-specific grunt tasks
* provided by the grunt-vb-build npm dependency, please refer to
* https://www.oracle.com/pls/topic/lookup?ctx=en/cloud/paas/app-builder-cloud&id=visual-application-build
*/
module.exports = (grunt) => {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
// disable images minification
"vb-image-minify": {
options: {
skip: true,
},
},
// configure requirejs modules bundling
"vb-require-bundle": {
options: {
transpile: false,
minify: true,
emptyPaths: [
"vx/oracle_cx_fragmentsUI/ui/self/resources/js/utils/contextHelper",
"vx/oracle_cx_fragmentsUI/ui/self/resources/js/utils/actionsHelper",
"vx/oracle_cx_fragmentsUI/ui/self/resources/js/utils/callbackHelper",
],
},
},
});
};