File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Get the complete changelog here: https://github.com/rbalet/ngx-translate-multi-h
11
11
12
12
* [ Installation] ( #installation )
13
13
* [ Usage] ( #usage )
14
+ * [ Error & BugFix] ( #possible-error--bugfix )
14
15
15
16
## breaking change: v9.0.0
16
17
* This library is now using ` httpBackend ` instead of the ` httpClient ` , to avoid being delayed by interceptor, which was creating errors while loading.
@@ -101,6 +102,22 @@ export function HttpLoaderFactory(_httpBackend: HttpBackend) {
101
102
102
103
The loader will merge all translation files from the server using [ deepmerge-ts] ( https://www.npmjs.com/package/deepmerge-ts ) .
103
104
105
+
106
+ ## Possible error & Bugfix
107
+ ### Can't resolve 'deepmerge-ts'
108
+ 1 . run ` npm i deepmerge-ts `
109
+
110
+ This is due to some version of npm not being able to download peerDependencies properly.
111
+
112
+ I decided to ** not** move it under dependencies since it's considered to be a bad practice.
113
+
114
+ ### values.at is not a function
115
+ 1 . Install ` core-js `
116
+ 2 . In ` polyfills.ts ` , add ` import 'core-js/modules/es.array.at' `
117
+
118
+ ` deepmerge-ts@5 ` uses ` Array.at ` , which is [ not supported] ( https://caniuse.com/?search=array.at ) in _ not so_ old versions of Safari ` < 15.4 ` .
119
+
120
+
104
121
## Authors and acknowledgment
105
122
* maintainer [ Raphaël Balet] ( https://github.com/rbalet )
106
123
* Former maintainer [ Dennis Keil] ( https://github.com/denniske )
You can’t perform that action at this time.
0 commit comments