I can't get my Angular universal App started "Unable to load translation and all the fallback languages" #697
Unanswered
rami-almofleh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
package.json
"dependencies": {
"@angular-devkit/core": "^16.1.3",
"@angular-devkit/schematics": "^16.1.3",
"@angular-eslint/schematics": "^1.0.0",
"@angular/animations": "^16.1.3",
"@angular/cdk": "^16.1.3",
"@angular/common": "^16.1.3",
"@angular/compiler": "^16.1.3",
"@angular/core": "^16.1.3",
"@angular/forms": "^16.1.3",
"@angular/localize": "^16.1.3",
"@angular/material": "^16.1.3",
"@angular/platform-browser": "^16.1.3",
"@angular/platform-browser-dynamic": "^16.1.3",
"@angular/platform-server": "^16.1.3",
"@angular/router": "^16.1.3",
"@angular/service-worker": "^16.1.3",
"@material/snackbar": "^13.0.0",
"@ng-bootstrap/ng-bootstrap": "^15.0.1",
"@ngneat/transloco": "^5.0.7",
"@ngneat/transloco-persist-lang": "^5.0.0",
"@nguniversal/express-engine": "^16.2.0",
"@popperjs/core": "^2.11.5",
"@schematics/angular": "^12.2.18",
"@types/popper.js": "^1.11.0",
"angular-favicon": "^1.0.9",
"autoprefixer": "^10.4.7",
"bootstrap": "^5.2.0",
"bootstrap-icons": "^1.9.1",
"cli": "^1.0.1",
"codelyzer": "^6.0.0",
"domino": "^2.1.6",
"express": "^4.15.2",
"http-server": "^13.1.0",
"localstorage-polyfill": "^1.0.1",
"rxjs": "^7.8.0",
"tslib": "^2.0.0",
"typescript": "4.9.5",
"zone.js": "~0.13.1"
},
scripts:
"dev:ssr": "ng run lshop-tng:serve-ssr --proxy-config proxy.conf.json",
proxy.conf.json
. . "/assets/i18n/*": { "target": "https://mydomain.de", "secure": false, "logLevel": "debug", "changeOrigin": true }
and transloco-root.module.ts
and when i start the server i become this error on the console:
`
Error while trying to load "de" TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11576:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: [Error: 80853D0501000000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:355:
] {
library: 'SSL routines',
reason: 'wrong version number',
code: 'ERR_SSL_WRONG_VERSION_NUMBER'
}
}
ERROR Error: Unable to load translation and all the fallback languages
at TranslocoService.handleFailure (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs:917:19)
at selector (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs:566:25)
at onError (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/catchError.js:13:51)
at OperatorSubscriber._error (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:43:21)
at OperatorSubscriber.error (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/Subscriber.js:60:18)
at onError (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/tap.js:31:28)
at OperatorSubscriber._error (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:43:21)
at OperatorSubscriber.error (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/Subscriber.js:60:18)
at onError (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/retry.js:60:36)
at OperatorSubscriber._this._error (/Users/ramialmofleh/Development/inits_kunden/lshop/tng-frontend/dist/lshop-tng/server/webpack:/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:43:21)
`
So please hep me to get it fixed!
Beta Was this translation helpful? Give feedback.
All reactions