Ngx-bootstrap: Khronos locale error: please load locale: "target": "es6"

Created on 1 Mar 2019  路  5Comments  路  Source: valor-software/ngx-bootstrap

screen shot 2019-03-01 at 2 00 49 pm
screen shot 2019-03-01 at 2 01 16 pm

feat(chronos) issue

Most helpful comment

@here @FrancescoBorzi @abhilashsandi @antonsimola @Hoakie

Please try the fix.
npm i ngx-bootstrap-ci@b38be856d9003bdb767cadbe778011d69791b2b6
mv node_modules/ngx-bootstrap-ci node_modules/ngx-bootstrap
tsconfig.json >> target = es6

All 5 comments

@here @FrancescoBorzi @abhilashsandi @antonsimola @Hoakie

Please try the fix.
npm i ngx-bootstrap-ci@b38be856d9003bdb767cadbe778011d69791b2b6
mv node_modules/ngx-bootstrap-ci node_modules/ngx-bootstrap
tsconfig.json >> target = es6

@Domainv Thank you. Looks like it's working for me, at least I can confirm that I no longer get the compilation error reported in https://github.com/valor-software/ngx-bootstrap/issues/5068

I don't know about khronos locale error.

@Domainv, I've encountered the same error. Followed your instructions above and can confirm it is working as expected. Thank you.

@here @FrancescoBorzi @abhilashsandi @antonsimola @Hoakie

Please try the fix.
npm i ngx-bootstrap-ci@b38be856d9003bdb767cadbe778011d69791b2b6
mv node_modules/ngx-bootstrap-ci node_modules/ngx-bootstrap
tsconfig.json >> target = es6

Is targeting es6 a requirement for this fix?

didnt work for me :/

"target": "es2015", (also es6 with recompile did not work)
"ngx-bootstrap": "^5.3.2",
"@angular/common": "~8.1.0",

_edit:_
that worked though:
https://github.com/valor-software/ngx-bootstrap/issues/4752#issuecomment-466619227

Was this page helpful?
0 / 5 - 0 ratings