SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.51k stars 260 forks source link

Cloned the repo but was unable to build the project #6227

Closed tiagoapmartins closed 7 months ago

tiagoapmartins commented 1 year ago

Issue Description

I was following the General Development Workflow guide and was unable to build the project

Issue Type

PS C:\Users\tiago\Repos\SAP\ui5-webcomponents> yarn start
yarn run v1.22.19
$ npm-run-all --sequential build:base build:prerequisites prepare:main prepare:fiori copy-css start:all
$ yarn workspace @ui5/webcomponents-base build
$ nps build
nps is executing `build` : nps lint prepare build.bundle
nps is executing `lint` : eslint . --config C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\components-package\eslint.js
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.9.0

YOUR TYPESCRIPT VERSION: 4.9.4

Please only submit bug reports when using the officially supported version.

=============
nps is executing `prepare` : nps clean integrate copy typescript generateAssetParameters generateVersionInfo generateStyles generateTemplates generateAPI
nps is executing `clean` : rimraf jsdoc-dist && rimraf dist && rimraf .port
nps is executing `integrate` : nps integrate.copy-used-modules integrate.replace-amd integrate.amd-to-es6 integrate.esm-abs-to-rel integrate.third-party
nps is executing `integrate.copy-used-modules` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\copy-list\index.js" ./used-modules.txt dist/
Files copied.
nps is executing `integrate.replace-amd` : replace-in-file sap.ui.define define dist/**/*.js
Replacing 'sap.ui.define' with 'define'
8 file(s) were changed
nps is executing `integrate.amd-to-es6` : amdtoes6 --src=dist/ --replace --glob=**/*.js
nps is executing `integrate.esm-abs-to-rel` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\esm-abs-to-rel\index.js" dist/ dist/
Success: Converted absolute imports to relative for files in: dist/
nps is executing `integrate.third-party` : nps integrate.third-party.copy integrate.third-party.fix
nps is executing `integrate.third-party.copy` : mkdirp dist/sap/ui/thirdparty/ && copy-and-watch ../../node_modules/@openui5/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js dist/sap/ui/thirdparty/
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js to dist\sap\ui\thirdparty\caja-html-sanitizer.js
nps is executing `integrate.third-party.fix` : replace-in-file 240 xA0 dist/sap/ui/thirdparty/caja-html-sanitizer.js
Replacing '240' with 'xA0'
No files were changed
nps is executing `copy` : nps copy.src
nps is executing `copy.src` : copy-and-watch "src/**/*.{js,css}" dist/
[COPY] src/css/BusyIndicator.css to dist\css\BusyIndicator.css
[COPY] src/css/FontFace.css to dist\css\FontFace.css
[COPY] src/css/OverrideFontFace.css to dist\css\OverrideFontFace.css
[COPY] src/css/SystemCSSVars.css to dist\css\SystemCSSVars.css
[COPY] src/renderer/directives/style-map.js to dist\renderer\directives\style-map.js
nps is executing `typescript` : tsc
nps is executing `generateAssetParameters` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-base\lib\generate-asset-parameters\index.js"
Assets parameters generated.
nps is executing `generateVersionInfo` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-base\lib\generate-version-info\index.js"
Version info file generated.
nps is executing `generateStyles` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-base\lib\generate-styles\index.js"   
Styles files generated.
nps is executing `generateTemplates` : mkdirp dist/generated/templates && node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/hbs2ui5/index.js" -d test/elements -o dist/generated/templates
Templates generated
nps is executing `generateAPI` : nps generateAPI.prepare generateAPI.preprocess generateAPI.jsdoc generateAPI.cleanup
nps is executing `generateAPI.prepare` : copy-and-watch "dist/**/*.js" jsdoc-dist/
[COPY] dist/animations/animate.js to jsdoc-dist\animations\animate.js
[COPY] dist/animations/AnimationQueue.js to jsdoc-dist\animations\AnimationQueue.js
[COPY] dist/animations/scroll.js to jsdoc-dist\animations\scroll.js
[COPY] dist/animations/slideDown.js to jsdoc-dist\animations\slideDown.js
[COPY] dist/animations/slideUp.js to jsdoc-dist\animations\slideUp.js
[COPY] dist/asset-registries/i18n.js to jsdoc-dist\asset-registries\i18n.js
[COPY] dist/asset-registries/Icons.js to jsdoc-dist\asset-registries\Icons.js
[COPY] dist/asset-registries/Illustrations.js to jsdoc-dist\asset-registries\Illustrations.js
[COPY] dist/asset-registries/LocaleData.js to jsdoc-dist\asset-registries\LocaleData.js
[COPY] dist/asset-registries/Themes.js to jsdoc-dist\asset-registries\Themes.js
[COPY] dist/AssetRegistry.js to jsdoc-dist\AssetRegistry.js
[COPY] dist/assets-meta/IconCollectionsAlias.js to jsdoc-dist\assets-meta\IconCollectionsAlias.js
[COPY] dist/Boot.js to jsdoc-dist\Boot.js
[COPY] dist/config/AnimationMode.js to jsdoc-dist\config\AnimationMode.js
[COPY] dist/config/CalendarType.js to jsdoc-dist\config\CalendarType.js
[COPY] dist/config/FormatSettings.js to jsdoc-dist\config\FormatSettings.js
[COPY] dist/config/Icons.js to jsdoc-dist\config\Icons.js
[COPY] dist/config/Language.js to jsdoc-dist\config\Language.js
[COPY] dist/config/NoConflict.js to jsdoc-dist\config\NoConflict.js
[COPY] dist/config/RTL.js to jsdoc-dist\config\RTL.js
[COPY] dist/config/Theme.js to jsdoc-dist\config\Theme.js
[COPY] dist/config/ThemeRoots.js to jsdoc-dist\config\ThemeRoots.js
[COPY] dist/CSP.js to jsdoc-dist\CSP.js
[COPY] dist/CustomElementsRegistry.js to jsdoc-dist\CustomElementsRegistry.js
[COPY] dist/CustomElementsScope.js to jsdoc-dist\CustomElementsScope.js
[COPY] dist/CustomElementsScopeUtils.js to jsdoc-dist\CustomElementsScopeUtils.js
[COPY] dist/decorators/customElement.js to jsdoc-dist\decorators\customElement.js
[COPY] dist/decorators/event.js to jsdoc-dist\decorators\event.js
[COPY] dist/decorators/fastNavigation.js to jsdoc-dist\decorators\fastNavigation.js
[COPY] dist/decorators/languageAware.js to jsdoc-dist\decorators\languageAware.js
[COPY] dist/decorators/property.js to jsdoc-dist\decorators\property.js
[COPY] dist/decorators/slot.js to jsdoc-dist\decorators\slot.js
[COPY] dist/decorators/themeAware.js to jsdoc-dist\decorators\themeAware.js
[COPY] dist/delegate/ItemNavigation.js to jsdoc-dist\delegate\ItemNavigation.js
[COPY] dist/delegate/ResizeHandler.js to jsdoc-dist\delegate\ResizeHandler.js
[COPY] dist/delegate/ScrollEnablement.js to jsdoc-dist\delegate\ScrollEnablement.js
[COPY] dist/Device.js to jsdoc-dist\Device.js
[COPY] dist/DOMObserver.js to jsdoc-dist\DOMObserver.js
[COPY] dist/EventProvider.js to jsdoc-dist\EventProvider.js
[COPY] dist/features/F6Navigation.js to jsdoc-dist\features\F6Navigation.js
[COPY] dist/features/OpenUI5Element.js to jsdoc-dist\features\OpenUI5Element.js
[COPY] dist/features/OpenUI5Enablement.js to jsdoc-dist\features\OpenUI5Enablement.js
[COPY] dist/features/OpenUI5Support.js to jsdoc-dist\features\OpenUI5Support.js
[COPY] dist/FeaturesRegistry.js to jsdoc-dist\FeaturesRegistry.js
[COPY] dist/FontFace.js to jsdoc-dist\FontFace.js
[COPY] dist/generated/AssetParameters.js to jsdoc-dist\generated\AssetParameters.js
[COPY] dist/generated/css/BusyIndicator.css.js to jsdoc-dist\generated\css\BusyIndicator.css.js
[COPY] dist/generated/css/FontFace.css.js to jsdoc-dist\generated\css\FontFace.css.js
[COPY] dist/generated/css/OverrideFontFace.css.js to jsdoc-dist\generated\css\OverrideFontFace.css.js
[COPY] dist/generated/css/SystemCSSVars.css.js to jsdoc-dist\generated\css\SystemCSSVars.css.js
[COPY] dist/generated/templates/elements/WithComplexTemplateTemplate.lit.js to jsdoc-dist\generated\templates\elements\WithComplexTemplateTemplate.lit.js 
[COPY] dist/generated/VersionInfo.js to jsdoc-dist\generated\VersionInfo.js
[COPY] dist/getSharedResource.js to jsdoc-dist\getSharedResource.js
[COPY] dist/i18nBundle.js to jsdoc-dist\i18nBundle.js
[COPY] dist/InitialConfiguration.js to jsdoc-dist\InitialConfiguration.js
[COPY] dist/Keys.js to jsdoc-dist\Keys.js
[COPY] dist/locale/applyDirection.js to jsdoc-dist\locale\applyDirection.js
[COPY] dist/locale/directionChange.js to jsdoc-dist\locale\directionChange.js
[COPY] dist/locale/getEffectiveDir.js to jsdoc-dist\locale\getEffectiveDir.js
[COPY] dist/locale/getLocale.js to jsdoc-dist\locale\getLocale.js
[COPY] dist/locale/languageChange.js to jsdoc-dist\locale\languageChange.js
[COPY] dist/locale/Locale.js to jsdoc-dist\locale\Locale.js
[COPY] dist/locale/nextFallbackLocale.js to jsdoc-dist\locale\nextFallbackLocale.js
[COPY] dist/locale/normalizeLocale.js to jsdoc-dist\locale\normalizeLocale.js
[COPY] dist/locale/RTLAwareRegistry.js to jsdoc-dist\locale\RTLAwareRegistry.js
[COPY] dist/ManagedStyles.js to jsdoc-dist\ManagedStyles.js
[COPY] dist/MarkedEvents.js to jsdoc-dist\MarkedEvents.js
[COPY] dist/MediaRange.js to jsdoc-dist\MediaRange.js
[COPY] dist/PropertiesFileFormat.js to jsdoc-dist\PropertiesFileFormat.js
[COPY] dist/Render.js to jsdoc-dist\Render.js
[COPY] dist/renderer/directives/style-map.js to jsdoc-dist\renderer\directives\style-map.js
[COPY] dist/renderer/executeTemplate.js to jsdoc-dist\renderer\executeTemplate.js
[COPY] dist/renderer/LitRenderer.js to jsdoc-dist\renderer\LitRenderer.js
[COPY] dist/RenderQueue.js to jsdoc-dist\RenderQueue.js
[COPY] dist/Runtimes.js to jsdoc-dist\Runtimes.js
[COPY] dist/sap/base/assert.js to jsdoc-dist\sap\base\assert.js
[COPY] dist/sap/base/Log.js to jsdoc-dist\sap\base\Log.js
[COPY] dist/sap/base/security/encodeCSS.js to jsdoc-dist\sap\base\security\encodeCSS.js
[COPY] dist/sap/base/security/encodeXML.js to jsdoc-dist\sap\base\security\encodeXML.js
[COPY] dist/sap/base/security/sanitizeHTML.js to jsdoc-dist\sap\base\security\sanitizeHTML.js
[COPY] dist/sap/base/security/URLListValidator.js to jsdoc-dist\sap\base\security\URLListValidator.js
[COPY] dist/sap/base/strings/toHex.js to jsdoc-dist\sap\base\strings\toHex.js
[COPY] dist/sap/base/util/now.js to jsdoc-dist\sap\base\util\now.js
[COPY] dist/sap/ui/thirdparty/caja-html-sanitizer.js to jsdoc-dist\sap\ui\thirdparty\caja-html-sanitizer.js
[COPY] dist/StaticArea.js to jsdoc-dist\StaticArea.js
[COPY] dist/StaticAreaItem.js to jsdoc-dist\StaticAreaItem.js
[COPY] dist/SystemCSSVars.js to jsdoc-dist\SystemCSSVars.js
[COPY] dist/Theming.js to jsdoc-dist\Theming.js
[COPY] dist/theming/applyTheme.js to jsdoc-dist\theming\applyTheme.js
[COPY] dist/theming/CustomStyle.js to jsdoc-dist\theming\CustomStyle.js
[COPY] dist/theming/getConstructableStyle.js to jsdoc-dist\theming\getConstructableStyle.js
[COPY] dist/theming/getEffectiveLinksHrefs.js to jsdoc-dist\theming\getEffectiveLinksHrefs.js
[COPY] dist/theming/getEffectiveStyle.js to jsdoc-dist\theming\getEffectiveStyle.js
[COPY] dist/theming/getStylesString.js to jsdoc-dist\theming\getStylesString.js
[COPY] dist/theming/getThemeDesignerTheme.js to jsdoc-dist\theming\getThemeDesignerTheme.js
[COPY] dist/theming/preloadLinks.js to jsdoc-dist\theming\preloadLinks.js
[COPY] dist/theming/ThemeLoaded.js to jsdoc-dist\theming\ThemeLoaded.js
[COPY] dist/thirdparty/_merge.js to jsdoc-dist\thirdparty\_merge.js
[COPY] dist/thirdparty/isPlainObject.js to jsdoc-dist\thirdparty\isPlainObject.js
[COPY] dist/thirdparty/merge.js to jsdoc-dist\thirdparty\merge.js
[COPY] dist/types.js to jsdoc-dist\types.js
[COPY] dist/types/AnimationMode.js to jsdoc-dist\types\AnimationMode.js
[COPY] dist/types/CalendarType.js to jsdoc-dist\types\CalendarType.js
[COPY] dist/types/CSSColor.js to jsdoc-dist\types\CSSColor.js
[COPY] dist/types/DataType.js to jsdoc-dist\types\DataType.js
[COPY] dist/types/DOMReference.js to jsdoc-dist\types\DOMReference.js
[COPY] dist/types/Float.js to jsdoc-dist\types\Float.js
[COPY] dist/types/Integer.js to jsdoc-dist\types\Integer.js
[COPY] dist/types/InvisibleMessageMode.js to jsdoc-dist\types\InvisibleMessageMode.js
[COPY] dist/types/ItemNavigationBehavior.js to jsdoc-dist\types\ItemNavigationBehavior.js
[COPY] dist/types/NavigationMode.js to jsdoc-dist\types\NavigationMode.js
[COPY] dist/types/ValueState.js to jsdoc-dist\types\ValueState.js
[COPY] dist/UI5Element.js to jsdoc-dist\UI5Element.js
[COPY] dist/UI5ElementMetadata.js to jsdoc-dist\UI5ElementMetadata.js
[COPY] dist/updateShadowRoot.js to jsdoc-dist\updateShadowRoot.js
[COPY] dist/util/AriaLabelHelper.js to jsdoc-dist\util\AriaLabelHelper.js
[COPY] dist/util/arraysAreEqual.js to jsdoc-dist\util\arraysAreEqual.js
[COPY] dist/util/Caret.js to jsdoc-dist\util\Caret.js
[COPY] dist/util/clamp.js to jsdoc-dist\util\clamp.js
[COPY] dist/util/ColorConversion.js to jsdoc-dist\util\ColorConversion.js
[COPY] dist/util/createLinkInHead.js to jsdoc-dist\util\createLinkInHead.js
[COPY] dist/util/createStyleInHead.js to jsdoc-dist\util\createStyleInHead.js
[COPY] dist/util/debounce.js to jsdoc-dist\util\debounce.js
[COPY] dist/util/detectNavigatorLanguage.js to jsdoc-dist\util\detectNavigatorLanguage.js
[COPY] dist/util/escapeRegex.js to jsdoc-dist\util\escapeRegex.js
[COPY] dist/util/FetchHelper.js to jsdoc-dist\util\FetchHelper.js
[COPY] dist/util/FocusableElements.js to jsdoc-dist\util\FocusableElements.js
[COPY] dist/util/formatMessage.js to jsdoc-dist\util\formatMessage.js
[COPY] dist/util/generateHighlightedMarkup.js to jsdoc-dist\util\generateHighlightedMarkup.js
[COPY] dist/util/getActiveElement.js to jsdoc-dist\util\getActiveElement.js
[COPY] dist/util/getClassCopy.js to jsdoc-dist\util\getClassCopy.js
[COPY] dist/util/getDesigntimePropertyAsArray.js to jsdoc-dist\util\getDesigntimePropertyAsArray.js
[COPY] dist/util/getEffectiveContentDensity.js to jsdoc-dist\util\getEffectiveContentDensity.js
[COPY] dist/util/getEffectiveScrollbarStyle.js to jsdoc-dist\util\getEffectiveScrollbarStyle.js
[COPY] dist/util/getFastNavigationGroups.js to jsdoc-dist\util\getFastNavigationGroups.js
[COPY] dist/util/getFileExtension.js to jsdoc-dist\util\getFileExtension.js
[COPY] dist/util/getNormalizedTarget.js to jsdoc-dist\util\getNormalizedTarget.js
[COPY] dist/util/getSingletonElementInstance.js to jsdoc-dist\util\getSingletonElementInstance.js
[COPY] dist/util/HTMLSanitizer.js to jsdoc-dist\util\HTMLSanitizer.js
[COPY] dist/util/InvisibleMessage.js to jsdoc-dist\util\InvisibleMessage.js
[COPY] dist/util/isElementClickable.js to jsdoc-dist\util\isElementClickable.js
[COPY] dist/util/isElementHidden.js to jsdoc-dist\util\isElementHidden.js
[COPY] dist/util/isElementInView.js to jsdoc-dist\util\isElementInView.js
[COPY] dist/util/isElementTabbable.js to jsdoc-dist\util\isElementTabbable.js
[COPY] dist/util/isValidPropertyName.js to jsdoc-dist\util\isValidPropertyName.js
[COPY] dist/util/PopupUtils.js to jsdoc-dist\util\PopupUtils.js
[COPY] dist/util/SlotsHelper.js to jsdoc-dist\util\SlotsHelper.js
[COPY] dist/util/StringHelper.js to jsdoc-dist\util\StringHelper.js
[COPY] dist/util/TabbableElements.js to jsdoc-dist\util\TabbableElements.js
[COPY] dist/util/whenDOMReady.js to jsdoc-dist\util\whenDOMReady.js
[COPY] dist/util/willShowContent.js to jsdoc-dist\util\willShowContent.js
[COPY] dist/validateThemeRoot.js to jsdoc-dist\validateThemeRoot.js
nps is executing `generateAPI.preprocess` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\jsdoc\preprocess.js" jsdoc-dist/
JSDoc preprocess ready.
nps is executing `generateAPI.jsdoc` : jsdoc -c "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/jsdoc/configTypescript.json"
WARNING: The @protected tag does not permit a value; the value will be ignored. File: StaticAreaItem.js, line: 71
WARNING: The @protected tag does not permit a value; the value will be ignored. File: StaticAreaItem.js, line: 75
merging JSDoc event documentation into UI5 metadata
nps is executing `generateAPI.cleanup` : rimraf jsdoc-dist/
nps is executing `build.bundle` : vite build -c "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\components-package\vite.config.js"
vite v2.9.13 building for production...
✓ 110 modules transformed.
dist/test\pages\AllTestElements.html                 1.48 KiB
dist/test\pages\Configuration.html                   0.27 KiB
dist/test\pages\ConfigurationScript.html             0.72 KiB
dist/test\pages\i18n.html                            0.27 KiB
dist/test\pages\i18n_texts.html                      1.34 KiB
dist/test\pages\WithComplexTemplate.html             0.53 KiB
dist/assets/test/pages/i18n.html.22675399.js         0.36 KiB / gzip: 0.27 KiB
dist/assets/test/pages/i18n_texts.html.e90ace39.js   0.82 KiB / gzip: 0.41 KiB
dist/assets/bundle.esm.c3388930.js                   61.38 KiB / gzip: 21.12 KiB
$ npm-run-all --parallel build:localization build:theming build:icons build:icons-business-suite build:icons-tnt
$ yarn workspace @ui5/webcomponents-theming build
$ yarn workspace @ui5/webcomponents-localization build
$ yarn workspace @ui5/webcomponents-icons-business-suite build
$ yarn workspace @ui5/webcomponents-icons build
$ yarn workspace @ui5/webcomponents-icons-tnt build
$ wc-dev build
$ wc-dev build
nps is executing `build` : nps lint clean copy.used-modules copy.cldr copy.overlay build.replace-amd build.replace-export                                t-true build.replace-export-false build.amd-to-es6 build.replace-global-core-usage build.esm-abs-to-rel build.jsonImports build.typescript copy.src        
nps is executing `build` : nps clean build.src build.typescript build.themes build.postcss build.jsonImports generateReport
nps is executing `lint` : eslint . --config config/.eslintrc.js
nps is executing `clean` : rimraf dist
nps is executing `build.src` : copy-and-watch "src/**/*.js" dist/
nps is executing `build.typescript` : tsc
npm WARN ignoring workspace config at C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\icons-business-suite/.npmrc 
npm WARN ignoring workspace config at C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\icons-tnt/.npmrc
npm WARN ignoring workspace config at C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\icons/.npmrc 
nps is executing `build` : nps clean typescript copy build.i18n build.icons build.jsonImports
nps is executing `build` : nps clean typescript copy build.i18n build.icons build.jsonImports
nps is executing `build` : nps clean typescript copy build.i18n build.icons build.jsonImports
nps is executing `clean` : rimraf dist
nps is executing `clean` : rimraf dist
nps is executing `clean` : rimraf dist
nps is executing `typescript` : tsc
=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.9.0

YOUR TYPESCRIPT VERSION: 4.9.4

Please only submit bug reports when using the officially supported version.

=============
nps is executing `typescript` : tsc
nps is executing `typescript` : tsc
nps is executing `build.themes` : nps build.themes.prepare build.themes.sap_fiori_3 build.themes.sap_fiori_3_dark build.themes.sap_belize build.themes.sap_belize_hcb build.themes.sap_belize_hcw build.themes.sap_fiori_3_hcb build.themes.sap_fiori_3_hcw build.themes.sap_horizon build.themes.sap_horizon_dark build.themes.sap_horizon_hcb build.themes.sap_horizon_hcw build.themes.sap_horizon_exp
nps is executing `build.themes.prepare` : mkdirp dist/themes/sap_fiori_3 && mkdirp dist/themes/sap_fiori_3_dark && mkdirp dist/themes/sap_belize && mkdirp dist/themes/sap_belize_hcb && mkdirp dist/themes/sap_belize_hcw && mkdirp dist/themes/sap_fiori_3_hcb && mkdirp dist/themes/sap_fiori_3_hcw && mkdirp dist/themes/sap_horizon && mkdirp dist/themes/sap_horizon_dark && mkdirp dist/themes/sap_horizon_hcb && mkdirp dist/themes/sap_horizon_hcw && mkdirp dist/themes/sap_horizon_exp
nps is executing `build.themes.sap_fiori_3` : nps build.themes.copy_sap_fiori_3_vars build.themes.copy_sap_fiori_3_bundle
nps is executing `copy` : nps copy.json-imports copy.icon-collection
nps is executing `copy` : nps copy.json-imports copy.icon-collection
nps is executing `build.themes.copy_sap_fiori_3_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css" dist/themes/sap_fiori_3/
nps is executing `copy.json-imports` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/**/*.js" dist/
nps is executing `copy.json-imports` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/**/*.js" dist/
nps is executing `copy.icon-collection` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/*.json" dist/generated/assets/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css to dist\themes\sap_fiori_3\css_variables.css
nps is executing `build.themes.copy_sap_fiori_3_bundle` : copy-and-watch "src/themes/sap_fiori_3/parameters-bundle.css" dist/themes/sap_fiori_3/
nps is executing `copy.icon-collection` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/*.json" dist/generated/assets/
nps is executing `copy` : nps copy.json-imports  copy.icon-collectionv4 copy.icon-collectionv5
nps is executing `build.i18n` :
[COPY] src/themes/sap_fiori_3/parameters-bundle.css to dist\themes\sap_fiori_3\parameters-bundle.css
nps is executing `build.icons` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/create-icons/index.js" "SAP-icons-TNT"
nps is executing `build.themes.sap_fiori_3_dark` : nps build.themes.copy_sap_fiori_3_dark_vars build.themes.copy_sap_fiori_3_dark_bundle
nps is executing `build.i18n` :
nps is executing `build.icons` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/create-icons/index.js" "SAP-icons-business-suite"
Icons created.
nps is executing `build.jsonImports` :
nps is executing `copy.json-imports` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/**/*.js" dist/
nps is executing `build.themes.copy_sap_fiori_3_dark_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_dark/css_variables.css" dist/themes/sap_fiori_3_dark/
Icons created.
nps is executing `copy.icon-collectionv4` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/v4/*.json" dist/generated/assets/v4/
nps is executing `build.jsonImports` :
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_dark/css_variables.css to dist\themes\sap_fiori_3_dark\css_variables.css
nps is executing `build.themes.copy_sap_fiori_3_dark_bundle` : copy-and-watch "src/themes/sap_fiori_3_dark/parameters-bundle.css" dist/themes/sap_fiori_3_dark/
nps is executing `copy.icon-collectionv5` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/v5/*.json" dist/generated/assets/v5/
nps is executing `clean` : rimraf dist
[COPY] src/themes/sap_fiori_3_dark/parameters-bundle.css to dist\themes\sap_fiori_3_dark\parameters-bundle.css
nps is executing `build.i18n` : nps build.i18n.defaultsjs build.i18n.json
nps is executing `build.themes.sap_belize` : nps build.themes.copy_sap_belize_vars build.themes.copy_sap_belize_bundle
nps is executing `copy.used-modules` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\copy-list\index.js" ./used-modules.txt dist/
Files copied.
nps is executing `copy.cldr` : copy-and-watch "../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/*.json" dist/generated/assets/cldr/
nps is executing `build.i18n.defaultsjs` : mkdirp dist/generated/i18n && node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/i18n/defaults.js" src/i18n dist/generated/i18n
nps is executing `build.themes.copy_sap_belize_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize/css_variables.css" dist/themes/sap_belize/
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ar_EG.json to dist\generated\assets\cldr\ar_EG.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ar_SA.json to dist\generated\assets\cldr\ar_SA.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ar.json to dist\generated\assets\cldr\ar.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/bg.json to dist\generated\assets\cldr\bg.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ca.json to dist\generated\assets\cldr\ca.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/cs.json to dist\generated\assets\cldr\cs.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/cy.json to dist\generated\assets\cldr\cy.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/da.json to dist\generated\assets\cldr\da.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/de_AT.json to dist\generated\assets\cldr\de_AT.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/de_CH.json to dist\generated\assets\cldr\de_CH.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/de.json to dist\generated\assets\cldr\de.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/el_CY.json to dist\generated\assets\cldr\el_CY.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/el.json to dist\generated\assets\cldr\el.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_AU.json to dist\generated\assets\cldr\en_AU.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_GB.json to dist\generated\assets\cldr\en_GB.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_HK.json to dist\generated\assets\cldr\en_HK.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_IE.json to dist\generated\assets\cldr\en_IE.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_IN.json to dist\generated\assets\cldr\en_IN.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_NZ.json to dist\generated\assets\cldr\en_NZ.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_PG.json to dist\generated\assets\cldr\en_PG.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_SG.json to dist\generated\assets\cldr\en_SG.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en_ZA.json to dist\generated\assets\cldr\en_ZA.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/en.json to dist\generated\assets\cldr\en.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_AR.json to dist\generated\assets\cldr\es_AR.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_BO.json to dist\generated\assets\cldr\es_BO.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_CL.json to dist\generated\assets\cldr\es_CL.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_CO.json to dist\generated\assets\cldr\es_CO.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_MX.json to dist\generated\assets\cldr\es_MX.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_PE.json to dist\generated\assets\cldr\es_PE.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_UY.json to dist\generated\assets\cldr\es_UY.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es_VE.json to dist\generated\assets\cldr\es_VE.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/es.json to dist\generated\assets\cldr\es.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/et.json to dist\generated\assets\cldr\et.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fa.json to dist\generated\assets\cldr\fa.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fi.json to dist\generated\assets\cldr\fi.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fr_BE.json to dist\generated\assets\cldr\fr_BE.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fr_CA.json to dist\generated\assets\cldr\fr_CA.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fr_CH.json to dist\generated\assets\cldr\fr_CH.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fr_LU.json to dist\generated\assets\cldr\fr_LU.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/fr.json to dist\generated\assets\cldr\fr.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/he.json to dist\generated\assets\cldr\he.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/hi.json to dist\generated\assets\cldr\hi.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/hr.json to dist\generated\assets\cldr\hr.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/hu.json to dist\generated\assets\cldr\hu.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/id.json to dist\generated\assets\cldr\id.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/it_CH.json to dist\generated\assets\cldr\it_CH.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/it.json to dist\generated\assets\cldr\it.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ja.json to dist\generated\assets\cldr\ja.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/kk.json to dist\generated\assets\cldr\kk.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ko.json to dist\generated\assets\cldr\ko.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/lt.json to dist\generated\assets\cldr\lt.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/lv.json to dist\generated\assets\cldr\lv.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ms.json to dist\generated\assets\cldr\ms.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/nb.json to dist\generated\assets\cldr\nb.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/nl_BE.json to dist\generated\assets\cldr\nl_BE.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/nl.json to dist\generated\assets\cldr\nl.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/pl.json to dist\generated\assets\cldr\pl.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/pt_PT.json to dist\generated\assets\cldr\pt_PT.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/pt.json to dist\generated\assets\cldr\pt.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ro.json to dist\generated\assets\cldr\ro.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ru_UA.json to dist\generated\assets\cldr\ru_UA.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/ru.json to dist\generated\assets\cldr\ru.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/sk.json to dist\generated\assets\cldr\sk.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/sl.json to dist\generated\assets\cldr\sl.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/sr_Latn.json to dist\generated\assets\cldr\sr_Latn.json
i18n default file generated.
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/sr.json to dist\generated\assets\cldr\sr.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/sv.json to dist\generated\assets\cldr\sv.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/th.json to dist\generated\assets\cldr\th.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/tr.json to dist\generated\assets\cldr\tr.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/uk.json to dist\generated\assets\cldr\uk.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/vi.json to dist\generated\assets\cldr\vi.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/zh_CN.json to dist\generated\assets\cldr\zh_CN.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/zh_HK.json to dist\generated\assets\cldr\zh_HK.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/zh_SG.json to dist\generated\assets\cldr\zh_SG.json
[COPY] ../../node_modules/@openui5/sap.ui.core/src/sap/ui/core/cldr/zh_TW.json to dist\generated\assets\cldr\zh_TW.json
nps is executing `build.i18n.json` : mkdirp dist/generated/assets/i18n && node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/i18n/toJSON.js" src/i18n dist/generated/assets/i18n
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize/css_variables.css to dist\themes\sap_belize\css_variables.css 
nps is executing `copy.overlay` : copy-and-watch "overlay/**/*.js" dist/
nps is executing `build.themes.copy_sap_belize_bundle` : copy-and-watch "src/themes/sap_belize/parameters-bundle.css" dist/themes/sap_belize/
[COPY] src/themes/sap_belize/parameters-bundle.css to dist\themes\sap_belize\parameters-bundle.css
[COPY] overlay/sap/ui/base/Interface.js to dist\sap\ui\base\Interface.js
[COPY] overlay/sap/ui/core/date/_Calendars.js to dist\sap\ui\core\date\_Calendars.js
[COPY] overlay/sap/ui/Device.js to dist\sap\ui\Device.js
nps is executing `build.themes.sap_belize_hcb` : nps build.themes.copy_sap_belize_hcb_vars build.themes.copy_sap_belize_hcb_bundle
nps is executing `build.replace-amd` : replace-in-file sap.ui.define define dist/**/*.js
Message bundle JSON files generated.
nps is executing `build.icons` : nps build.icons.createv4 build.icons.createv5
Replacing 'sap.ui.define' with 'define'
28 file(s) were changed
nps is executing `build.replace-export-true` : replace-in-file ", /* bExport= */ true" "" dist/**/*.js
nps is executing `build.themes.copy_sap_belize_hcb_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize_hcb/css_variables.css" dist/themes/sap_belize_hcb/
Replacing ', /* bExport= */ true' with ''
nps is executing `build.icons.createv4` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/create-icons/index.js" "SAP-icons" "v4"
6 file(s) were changed
nps is executing `build.replace-export-false` : replace-in-file ", /* bExport= */ false" "" dist/**/*.js
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize_hcb/css_variables.css to dist\themes\sap_belize_hcb\css_variables.css
nps is executing `build.themes.copy_sap_belize_hcb_bundle` : copy-and-watch "src/themes/sap_belize_hcb/parameters-bundle.css" dist/themes/sap_belize_hcb/
Replacing ', /* bExport= */ false' with ''
[COPY] src/themes/sap_belize_hcb/parameters-bundle.css to dist\themes\sap_belize_hcb\parameters-bundle.css
No files were changed
nps is executing `build.themes.sap_belize_hcw` : nps build.themes.copy_sap_belize_hcw_vars build.themes.copy_sap_belize_hcw_bundle
nps is executing `build.amd-to-es6` : amdtoes6 --src=dist --replace --glob=**/*.js
nps is executing `build.themes.copy_sap_belize_hcw_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize_hcw/css_variables.css" dist/themes/sap_belize_hcw/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_belize_hcw/css_variables.css to dist\themes\sap_belize_hcw\css_variables.css
nps is executing `build.themes.copy_sap_belize_hcw_bundle` : copy-and-watch "src/themes/sap_belize_hcw/parameters-bundle.css" dist/themes/sap_belize_hcw/
Icons created.
nps is executing `build.icons.createv5` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/create-icons/index.js" "SAP               P-icons" "v5"
[COPY] src/themes/sap_belize_hcw/parameters-bundle.css to dist\themes\sap_belize_hcw\parameters-bundle.css
nps is executing `build.themes.sap_fiori_3_hcb` : nps build.themes.copy_sap_fiori_3_hcb_vars build.themes.copy_sap_fiori_3_hcb_bundle
nps is executing `build.replace-global-core-usage` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\replace-global-core\index.js" dist/
Success: Replaced global core usage in: dist/
nps is executing `build.esm-abs-to-rel` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\esm-abs-to-rel\index.js" dist/
nps is executing `build.themes.copy_sap_fiori_3_hcb_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_hcb/css_variables.css" dist/themes/sap_fiori_3_hcb/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_hcb/css_variables.css to dist\themes\sap_fiori_3_hcb\css_variables.css
nps is executing `build.themes.copy_sap_fiori_3_hcb_bundle` : copy-and-watch "src/themes/sap_fiori_3_hcb/parameters-bundle.css" dist/themes/sap_fiori_3_hcb/
Icons created.
nps is executing `build.jsonImports` : mkdirp dist/generated/json-imports && nps build.jsonImports.i18n
[COPY] src/themes/sap_fiori_3_hcb/parameters-bundle.css to dist\themes\sap_fiori_3_hcb\parameters-bundle.css
Success: Converted absolute imports to relative for files in: dist/
nps is executing `build.themes.sap_fiori_3_hcw` : nps build.themes.copy_sap_fiori_3_hcw_vars build.themes.copy_sap_fiori_3_hcw_bundle
nps is executing `build.jsonImports` : node ./lib/generate-json-imports/cldr.js
CLDR files generated.
nps is executing `build.typescript` : tsc
nps is executing `build.jsonImports.i18n` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/generate-json-imports/i18n.js" dist/generated/assets/i18n dist/generated/json-imports
nps is executing `build.themes.copy_sap_fiori_3_hcw_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_hcw/css_variables.css" dist/themes/sap_fiori_3_hcw/
Generated i18n JSON imports.
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3_hcw/css_variables.css to dist\themes\sap_fiori_3_hcw\css_variables.css
nps is executing `build.themes.copy_sap_fiori_3_hcw_bundle` : copy-and-watch "src/themes/sap_fiori_3_hcw/parameters-bundle.css" dist/themes/sap_fiori_3_hcw/
[COPY] src/themes/sap_fiori_3_hcw/parameters-bundle.css to dist\themes\sap_fiori_3_hcw\parameters-bundle.css
nps is executing `build.themes.sap_horizon` : nps build.themes.copy_sap_horizon_vars build.themes.copy_sap_horizon_bundle
nps is executing `build.themes.copy_sap_horizon_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.css" dist/themes/sap_horizon/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.css to dist\themes\sap_horizon\css_variables.css
nps is executing `build.themes.copy_sap_horizon_bundle` : copy-and-watch "src/themes/sap_horizon/parameters-bundle.css" dist/themes/sap_horizon/
[COPY] src/themes/sap_horizon/parameters-bundle.css to dist\themes\sap_horizon\parameters-bundle.css
nps is executing `build.themes.sap_horizon_dark` : nps build.themes.copy_sap_horizon_dark_vars build.themes.copy_sap_horizon_dark_bundle
nps is executing `build.themes.copy_sap_horizon_dark_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_dark/css_variables.css" dist/themes/sap_horizon_dark/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_dark/css_variables.css to dist\themes\sap_horizon_dark\css_variables.css
nps is executing `build.themes.copy_sap_horizon_dark_bundle` : copy-and-watch "src/themes/sap_horizon_dark/parameters-bundle.css" dist/themes/sap_horizon_dark/
[COPY] src/themes/sap_horizon_dark/parameters-bundle.css to dist\themes\sap_horizon_dark\parameters-bundle.css
nps is executing `build.themes.sap_horizon_hcb` : nps build.themes.copy_sap_horizon_hcb_vars build.themes.copy_sap_horizon_hcb_bundle
nps is executing `build.themes.copy_sap_horizon_hcb_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_hcb/css_variables.css" dist/themes/sap_horizon_hcb/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_hcb/css_variables.css to dist\themes\sap_horizon_hcb\css_variables.css
nps is executing `build.themes.copy_sap_horizon_hcb_bundle` : copy-and-watch "src/themes/sap_horizon_hcb/parameters-bundle.css" dist/themes/sap_horizon_hcb/
[COPY] src/themes/sap_horizon_hcb/parameters-bundle.css to dist\themes\sap_horizon_hcb\parameters-bundle.css
nps is executing `build.themes.sap_horizon_hcw` : nps build.themes.copy_sap_horizon_hcw_vars build.themes.copy_sap_horizon_hcw_bundle
nps is executing `build.themes.copy_sap_horizon_hcw_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_hcw/css_variables.css" dist/themes/sap_horizon_hcw/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon_hcw/css_variables.css to dist\themes\sap_horizon_hcw\css_variables.css
nps is executing `build.themes.copy_sap_horizon_hcw_bundle` : copy-and-watch "src/themes/sap_horizon_hcw/parameters-bundle.css" dist/themes/sap_horizon_hcw/
[COPY] src/themes/sap_horizon_hcw/parameters-bundle.css to dist\themes\sap_horizon_hcw\parameters-bundle.css
nps is executing `build.themes.sap_horizon_exp` : nps build.themes.copy_sap_horizon_exp_vars build.themes.copy_sap_horizon_exp_bundle
nps is executing `build.themes.copy_sap_horizon_exp_vars` : copy-and-watch "../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.css" dist/themes/sap_horizon_exp/
[COPY] ../../node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.css to dist\themes\sap_horizon_exp\css_variables.css
nps is executing `build.themes.copy_sap_horizon_exp_bundle` : copy-and-watch "src/themes/sap_horizon_exp/parameters-bundle.css" dist/themes/sap_horizon_exp/
[COPY] src/themes/sap_horizon_exp/parameters-bundle.css to dist\themes\sap_horizon_exp\parameters-bundle.css
nps is executing `build.postcss` : postcss dist/**/parameters-bundle.css --config config/postcss.themes --base dist/ --dir dist/css/
nps is executing `copy.src` : copy-and-watch "src/**/*.js" dist/
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
nps is executing `build.jsonImports` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-tools\lib\generate-json-imports\themes.js" dist/generated/assets/themes dist/generated/json-imports
Generated themes JSON imports.
nps is executing `generateReport` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\@ui5\webcomponents-theming\lib\generate-css-vars-usage-report\index.js"
CSS Vars usage report generated.
$ yarn workspace @ui5/webcomponents nps prepare
$ C:\Users\tiago\Repos\SAP\ui5-webcomponents\node_modules\.bin\nps prepare
nps is executing `prepare` : nps clean prepare.all generateAPI
nps is executing `clean` : rimraf jsdoc-dist && rimraf dist && rimraf .port && nps "scope.testPages.clean"
nps is executing `scope.testPages.clean` : rimraf test/pages/scoped
nps is executing `prepare.all` : concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copy" "nps typescript" "nps build.illustrations"
[1] nps is executing `build.i18n` : nps build.i18n.defaultsjs build.i18n.json
[0] nps is executing `build.templates` : mkdirp dist/generated/templates && node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/hbs2ui5/index.js" -d src/ -o dist/generated/templates
[2] nps is executing `prepare.styleRelated` : nps build.styles build.jsonImports build.jsImports
[4] nps is executing `typescript` : tsc
[3] nps is executing `copy` : nps copy.src copy.props
[5] nps is executing `build.illustrations` :
[5] nps build.illustrations exited with code 0
[1] nps is executing `build.i18n.defaultsjs` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/i18n/defaults.js" src/i18n dist/generated/i18n
[2] nps is executing `build.styles` : nps build.styles.themes build.styles.components
[3] nps is executing `copy.src` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/**/*.js" dist/
[0] Templates generated
[1] i18n default file generated.
[0] nps build.templates exited with code 0
[1] nps is executing `build.i18n.json` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/i18n/toJSON.js" src/i18n dist/generated/assets/i18n
[3] nps is executing `copy.props` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/copy-and-watch/index.js" --silent "src/**/*.properties" dist/
[2] nps is executing `build.styles.themes` : node "C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\tools\lib\/postcss-p/postcss-p.mjs"
[1] Message bundle JSON files generated.
[1] nps build.i18n exited with code 0
[3] nps copy exited with code 0
[2] file:///C:/Users/tiago/Repos/SAP/ui5-webcomponents/node_modules/zx/index.mjs:89
[2]         let output = new ProcessOutput({
[2]                      ^
[2]
[2] ProcessOutput [Error]: /tmp/docker-desktop-root/mnt/host/c/Users/tiago/Repos/SAP/ui5-webcomponents/node_modules/.bin/postcss: line 12: node: not found
[2]     at file:///C:/Users/tiago/Repos/SAP/ui5-webcomponents/packages/tools/lib/postcss-p/postcss-p.mjs:13:11
[2]     exit code: 127 (Command not found)
[2]     at ChildProcess.<anonymous> (file:///C:/Users/tiago/Repos/SAP/ui5-webcomponents/node_modules/zx/index.mjs:89:22)
[2]     at ChildProcess.emit (node:events:513:28)
[2]     at maybeClose (node:internal/child_process:1091:16)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: C:\Program Files\nodejs\node.exeArguments: C:\Users\tiago\AppData\Roaming\npm\node_modules\yarn\lib\cli.js nps prepare
Directory: C:\Users\tiago\Repos\SAP\ui5-webcomponents\packages\mainOutput:
info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "prepare:main" exited with 1.error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ilhan007 commented 1 year ago

Hello @tiagoapmartins you are using yarn v1.22.19, could you also list: OS: Node:

tiagoapmartins commented 1 year ago

Hi @ilhan007 Sorry for the late reply!

OS: Windows 11 Home Build 22621.ni_release.220506-1250 Node: v18.12.1

ilhan007 commented 1 year ago

@hinzzx @nnaydenow could you try running the project on Windows, it will be easier for you and share your env: node, os, yarn

hinzzx commented 1 year ago

Hello,

I experience this exact same error on my personal PC. OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19044 N/A Build 19044 yarn: 1.22.19 Node: 18.12.1

nnaydenow commented 1 year ago

Hi @ilhan007,

I've run through the steps and seems that everything works on my machine. I'm sharing information about my machine setup: image

ddNils commented 1 year ago

Same issue here.

tried with

npm init @ui5/webcomponents-package
npm init @ui5/webcomponents-package@1.12.0-rc.1
npm init @ui5/webcomponents-package@1.12.0-rc.2

none of those work on my computer

[1] nps build.i18n exited with code 0
[2] file:///C:/Code/CrossClusterRefApp/WebC2/cpaxref-webcomponents/node_modules/zx/index.mjs:89
[2]         let output = new ProcessOutput({
[2]                      ^
[2]
[2] ProcessOutput [Error]: /mnt/c/Code/CrossClusterRefApp/WebC2/cpaxref-webcomponents/node_modules/.bin/postcss: 11: exec: node: not found
[2]     at file:///C:/Code/CrossClusterRefApp/WebC2/cpaxref-webcomponents/node_modules/@ui5/webcomponents-tools/lib/postcss-p/postcss-p.mjs:13:11
[2]     exit code: 127 (Command not found)
[2]     at ChildProcess.<anonymous> (file:///C:/Code/CrossClusterRefApp/WebC2/cpaxref-webcomponents/node_modules/zx/index.mjs:89:22)
[2]     at ChildProcess.emit (node:events:527:28)
[2]     at maybeClose (node:internal/child_process:1092:16)
[2]     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
[2] The script called "build.styles.themes" which runs "node "C:\Code\CrossClusterRefApp\WebC2\cpaxref-webcomponents\node_modules\@ui5\webcomponents-tools\lib\/postcss-p/postcss-p.mjs"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "build.styles" which runs "nps build.styles.themes build.styles.components" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "prepare.styleRelated" which runs "nps build.styles build.jsonImports build.jsImports" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] nps prepare.styleRelated exited with code 1
The script called "prepare.all" which runs "concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copy" "nps build.illustrations"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "prepare" which runs "cross-env UI5_TS=true nps clean prepare.all typescript generateAPI" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "start" which runs "nps prepare watch.devServer" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
node:child_process:902
    throw err;
    ^

Systeminfo is: OS Name: Microsoft Windows 11 Enterprise OS Version: 10.0.22621 N/A Build 22621 node -v v16.15.1

ddNils commented 1 year ago

The problem seems to originate from the nps build script in webcomponents-tools/components-package/nps.js

        {
                typescript: tsCommand,
        build: {
            default: "nps prepare lint build.bundle",
            templates: `mkdirp dist/generated/templates && node "${LIB}/hbs2ui5/index.js" -d src/ -o dist/generated/templates`,
            styles: {
                default: `nps build.styles.themes build.styles.components ${copySrcGenerated}`,
                themes: `node "${LIB}/postcss-p/postcss-p.mjs"`,
                components: "postcss src/themes/*.css --config config/postcss.components --base src --dir dist/css/", // When updating this, also update the new files script
            }}

When I remove the build.styles.themes from defaultthe start script runs past this step but stumbles later.

nnaydenow commented 1 year ago

Hi @ddNils,

Thanks for the provided information. We will take a look over it again.

Regards, Nayden

nnaydenow commented 1 year ago

Hi @ddNils, @tiagoapmartins,

Could you please share which terminal you are using because I'm still not able to reproduce the problem even with the configuration provided by @ddNils?

Could you please check if the issue is still reproducible if you use git bash terminal?

andekande commented 1 year ago

Hint: compare your typescript versions / configurations

nnaydenow commented 1 year ago

Hi @ddNils , @tiagoapmartins,

Based on @andekande hint could you share if you have globally installed typescript? In version 1.12.0-rc.2 we've added TypeScript as devDependency and I'm using it. https://www.npmjs.com/package/@ui5/create-webcomponents-package/v/1.12.0-rc.2.

ddNils commented 1 year ago

Version should be:

npm tsc -v
8.19.3

I will have a look at rc2 again, but I suspect the problem lies somewhere else

ddNils commented 1 year ago

I have updated to:

npm -v 8.19.3
tsc -v 5.0.2
node -v v16.19.1

still getting the same error, as mentioned before:

nps is executing `start` : nps prepare watch.devServer
nps is executing `prepare` : cross-env UI5_TS=true nps clean prepare.all typescript generateAPI
nps is executing `clean` : rimraf jsdoc-dist && rimraf src/generated && rimraf dist && rimraf .port && nps "scope.testPages.clean"
nps is executing `scope.testPages.clean` : rimraf test/pages/scoped
nps is executing `prepare.all` : concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copy" "nps build.illustrations"
[0] nps is executing `build.templates` : mkdirp dist/generated/templates && node "obscured\node_modules\@ui5\webcomponents-tools\lib\/hbs2ui5/index.js" -d src/ -o dist/generated/templates
[1] nps is executing `build.i18n` : nps build.i18n.defaultsjs build.i18n.json
[2] nps is executing `prepare.styleRelated` : nps build.styles build.jsonImports build.jsImports
[3] nps is executing `copy` : nps copy.src copy.props
[4] nps is executing `build.illustrations` :
[4] nps build.illustrations exited with code 0
[0] Templates generated
[0] nps build.templates exited with code 0
[1] nps is executing `build.i18n.defaultsjs` : node "obscured\node_modules\@ui5\webcomponents-tools\lib\/i18n/defaults.js" src/i18n src/generated/i18n
[3] nps is executing `copy.src` : node "obscured\node_modules\@ui5\webcomponents-tools\lib\/copy-and-watch/index.js" --silent "src/**/*.js" dist/
[2] nps is executing `build.styles` : nps build.styles.themes build.styles.components
[1] i18n default file generated.
[1] nps is executing `build.i18n.json` : node "obscured\node_modules\@ui5\webcomponents-tools\lib\/i18n/toJSON.js" src/i18n dist/generated/assets/i18n
[3] nps is executing `copy.props` : node "obscured\node_modules\@ui5\webcomponents-tools\lib\/copy-and-watch/index.js" --silent "src/**/*.properties" dist/
[1] Message bundle JSON files generated.
[2] nps is executing `build.styles.themes` : node "obscured\node_modules\@ui5\webcomponents-tools\lib\/postcss-p/postcss-p.mjs"
[1] nps build.i18n exited with code 0
[3] nps copy exited with code 0
[2] file:///obscured/node_modules/zx/index.mjs:89
[2]         let output = new ProcessOutput({
[2]                      ^
[2]
[2] ProcessOutput [Error]: /mnt/c/Code/CrossClusterRefApp/WebC2/obscured/node_modules/.bin/postcss: 11: exec: node: not found
[2]     at file:///C:/Code/CrossClusterRefApp/WebC2/obscured/node_modules/@ui5/webcomponents-tools/lib/postcss-p/postcss-p.mjs:13:11
[2]     exit code: 127 (Command not found)
[2]     at ChildProcess.<anonymous> (file:///C:/Code/CrossClusterRefApp/WebC2/obscured/node_modules/zx/index.mjs:89:22)
[2]     at ChildProcess.emit (node:events:513:28)
[2]     at maybeClose (node:internal/child_process:1100:16)
[2]     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2] The script called "build.styles.themes" which runs "node "obscured\node_modules\@ui5\webcomponents-tools\lib\/postcss-p/postcss-p.mjs"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "build.styles" which runs "nps build.styles.themes build.styles.components" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "prepare.styleRelated" which runs "nps build.styles build.jsonImports build.jsImports" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] nps prepare.styleRelated exited with code 1
The script called "prepare.all" which runs "concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copy" "nps build.illustrations"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "prepare" which runs "cross-env UI5_TS=true nps clean prepare.all typescript generateAPI" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "start" which runs "nps prepare watch.devServer" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
node:child_process:935
    throw err;
    ^

Error: Command failed: npx nps "start"
    at checkExecSyncError (node:child_process:861:11)
    at Object.execSync (node:child_process:932:15)
    at Object.<anonymous> (obscured\node_modules\@ui5\webcomponents-tools\bin\dev.js:16:15)
    at Module._compile (node:internal/modules/cjs/loader:1191:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
    at Module.load (node:internal/modules/cjs/loader:1069:32)
    at Function.Module._load (node:internal/modules/cjs/loader:904:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 14952,
  stdout: null,
  stderr: null
}

@nnaydenow can you provide a script that outputs more detailed information on what is going on? Like raising the debug mode or something like that?

ddNils commented 1 year ago

btw , I just tried the js version of this and it outputs the same - so it seems at least to my knowledge, it is not a typescript related problem. (also all above were tested with a administrative cmd, just in case...)

ddNils commented 1 year ago

I did read my last few posts again and realized, that this might be misinterpreted. The init works properly. But the resulting project cannot be built. So running npm init @ui5/webcomponents-package and npm i works without problems. Building and starting the project however fails.

nnaydenow commented 1 year ago

Hi @ddNils,

It's really strange issue and I'm still not able to reproduce the problem. These are the steps which I'm using and it works:

Could you share yours steps? Also could you write git log and share the commit ID to check if it's related to specific commit?

ddNils commented 1 year ago

My workflow was the following:

ddNils commented 1 year ago

I tried your workflow as well and installed yarn globally for that. This is the output:

[1] Message bundle JSON files generated.
[1] nps build.i18n exited with code 0
[2] nps is executing `build.styles.themes` : node "obscuredWebC2\test4\ui5-webcomponents\packages\tools\lib\/postcss-p/postcss-p.mjs"
[3] nps copy exited with code 0
[2] file:///obscuredtest4/ui5-webcomponents/node_modules/zx/index.mjs:89
[2]         let output = new ProcessOutput({
[2]                      ^
[2]
[2] ProcessOutput [Error]: /mnt/c/Code/CrossClusterRefApp/WebC2/test4/ui5-webcomponents/node_modules/.bin/postcss: 12: node: not found
[2]     at file:///obscuredtest4/ui5-webcomponents/packages/tools/lib/postcss-p/postcss-p.mjs:13:11
[2]     exit code: 127 (Command not found)
[2]     at ChildProcess.<anonymous> (file:///obscuredtest4/ui5-webcomponents/node_modules/zx/index.mjs:89:22)
[2]     at ChildProcess.emit (node:events:513:28)
[2]     at maybeClose (node:internal/child_process:1100:16)
[2]     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2] The script called "build.styles.themes" which runs "node "obscuredWebC2\test4\ui5-webcomponents\packages\tools\lib\/postcss-p/postcss-p.mjs"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "build.styles" which runs "nps build.styles.themes build.styles.components" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] The script called "prepare.styleRelated" which runs "nps build.styles build.jsonImports build.jsImports" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
[2] nps prepare.styleRelated exited with code 1
The script called "prepare.all" which runs "concurrently "nps build.templates" "nps build.i18n" "nps prepare.styleRelated" "nps copy" "nps build.illustrations"" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
The script called "prepare" which runs "cross-env UI5_TS=true nps clean prepare.all typescript generateAPI" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: C:\Program Files\nodejs\node.exe
Arguments: C:\Users\obscured\AppData\Roaming\nvm\v16.19.1\node_modules\yarn\lib\cli.js nps prepare
Directory: obscuredWebC2\test4\ui5-webcomponents\packages\main
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "prepare:main" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build:prerequisitesWithLint" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ddNils commented 1 year ago

So as a workaround, I did change nps.js in \node_modules\@ui5\webcomponents-tools\components-package\nps.js

to use themes: 'postcss src/**/parameters-bundle.css --config config/postcss.themes --base src --dir dist/css/', instead of `node "${LIB}/postcss-p/postcss-p.mjs"\`,

this seems to work fine for me as a workaround for the time being.

nnaydenow commented 7 months ago

Hi @ddNils, @tiagoapmartins,

We've reworked our build process and how postcss works in our projects. I'm closing the issue since we are not able to reproduce the problem. Please ping me to reopen the issue if the problem still occurs.

Regards, Nayden