[DevExpress Support Team: CLONED FROM T622636: HTML5 Document Viewer - How to overcome the Globalize library registration issue in Angular CLI project]
i tried the gosha ticket, i updated to angular cli 6 and add into tsconfig.json the path globalize but but show me always the same error:
C#ERROR in ./node_modules/devexpress-reporting/dx-designer.js
Module not found: Error: Can't resolve 'I:\Angular\SednaCloud.UI5\src\node_modules\globalize\dist\globalize' in 'I:\Angular\SednaCloud.UI5\node_modules\devexpress-reporting'
ERROR in ./node_modules/devexpress-reporting/node_modules/devextreme/localization/globalize/number.js
Module not found: Error: Can't resolve 'I:\Angular\SednaCloud.UI5\src\node_modules\globalize\dist\globalize' in 'I:\Angular\SednaCloud.UI5\node_modules\devexpress-reporting\node_modules\devextreme\localization\globalize'
ERROR in ./node_modules/devexpress-reporting/node_modules/devextreme/localization/globalize/core.js
Module not found: Error: Can't resolve 'I:\Angular\SednaCloud.UI5\src\node_modules\globalize\dist\globalize' in 'I:\Angular\SednaCloud.UI5\node_modules\devexpress-reporting\node_modules\devextreme\localization\globalize'
UPDATED:
this my tsconfig:
JavaScript{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types",
"jquery",
"ej.web.all"
],
"lib": [
"es2017",
"dom"
],
"paths": {
"globalize": [
"node_modules/globalize/dist/globalize"
],
"globalize/*": [
"node_modules/globalize/dist/globalize/*"
],
"cldr": [
"node_modules/cldrjs/dist/cldr"
],
"cldr/*": [
"node_modules/cldrjs/dist/cldr/*"
]
}
}
}
but not work the same error