Closed jaudette790 closed 1 year ago
Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me
+1
I can confirm this issue. Exactly like it was described by @jaudette790. I would be really cool @mattlewis92 if you would be able to fix this.
The error is thrown by babel.js https://unpkg.com/@babel/standalone@7.21.2/babel.js.map
const COL_GTR_EQ_ZERO = '
columnmust be greater than or equal to 0 (columns start at column 0)';
Have the same on Angular 15. @jaudette790 you could change 'Angular 16' to 'Angular 15+' in the title.
And i confirm @geraldspreer. Error is
Error: /Users/nils/S/plano/scheduler.frontend.ng2/node_modules/angular-calendar/fesm2020/angular-calendar.mjs: `column` must be greater than or equal to 0
Have the same on Angular 15. @jaudette790 you could change 'Angular 16' to 'Angular 15+' in the title.
I updated the title, but I did not get the error until I updated to Angular 16
Hey folks, I just took a quick look at this issue and this seems like a bug with angular rather than anything I'm able to fix my end. You can see there are other people running into the problem and that aren't using this package.
For example:
One temporary workaround that I found is to delete the sourcemap before extracting i18n:
rm node_modules/angular-calendar/fesm2020/angular-calendar.mjs.map
Thank you @mattlewis92 for providing this info to temporary fix this problem.
I've filed an issue on the angular CLI repo with steps to reproduce, hopefully they can find a proper fix soon 🙏
It is a problem of Babel which is already under resolution, but not closed yet https://github.com/babel/babel/issues/15712
@jaudette790 can you verify whether babel
version 7.22.7
solves issue also for you?
https://github.com/angular/angular-cli/issues/25414#issuecomment-1623448186
Verified that the issue is fixed in angular CLI 16.1.4
!
Describe the bug When running
ng extract-i18
in project, i get the error:Minimal reproduction of the problem with instructions Since this is not a browser issue, did not create a stackblitz. See this stackoverflow question with the same issue
Screenshots No screenshots
Versions
@angular/core
: 16.0.3angular-calendar
: 0.31.0 (also tried 0.30.1)