From ead5c383df30c94a83ee1d7e2c869cc5b23697a2 Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Fri, 6 Aug 2021 16:04:50 +0100 Subject: Fix local build of onboarding-fe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dox-sequence-diagram-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. openecomp-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. - upgrades babel-core from 6.24.0 to 6.26.0. Code and config fixes: - fixes i18n openecomp-ui/src/nfvo-utils/i18n/i18n.js. The previous code was calling an non-existent attribute of the intl-format-cache. - fixes dox-sequence-diagram-ui path in openecomp-ui/webpack.config.js. The previous path configuration was causing compilation problems in the openecomp-ui (folder not found problem). Updates README.md with used procedure to run onboarding-fe. Change-Id: I28f7b78a1f30b5f904b3f7214f72e9741253622d Issue-ID: SDC-3661 Signed-off-by: André Schmid --- openecomp-ui/src/nfvo-utils/i18n/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openecomp-ui/src/nfvo-utils/i18n') diff --git a/openecomp-ui/src/nfvo-utils/i18n/i18n.js b/openecomp-ui/src/nfvo-utils/i18n/i18n.js index 43a183def4..6d60daec24 100644 --- a/openecomp-ui/src/nfvo-utils/i18n/i18n.js +++ b/openecomp-ui/src/nfvo-utils/i18n/i18n.js @@ -25,7 +25,7 @@ import i18nJson from 'i18nJson'; var Intl = window.Intl || IntlObj.default, IntlMessageFormat = IntlMessageFormatObj.default, IntlRelativeFormat = IntlRelativeFormatObj.default, - createFormatCache = createFormatCacheObj.default; + createFormatCache = createFormatCacheObj; /*extract locale*/ var _locale = window.localStorage && localStorage.getItem('user_locale'); -- cgit 1.2.3-korg