Skip to content

locale data have disappeared in 6.0.0-rc.1 #23103

Closed

Description

@jnizet

I'm submitting a...


[x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

The following line doesn't compile anymore (it did compile in 6.0.0-rc.0):

import localeFr from '@angular/common/locales/fr';

It produced the following error:

error TS2307: Cannot find module '@angular/common/locales/fr'

Nothing in the changelog (unless I missed something)warns about a new module to use for the locale data. the documentation at next.angular.io still uses this module, too.

Expected behavior

it should compile

Environment


Angular version: 6.0.0-rc.1

 
For Tooling issues:
- Node version: 8.9.0  
- Platform: Mac 

Others:

Activity

  1. IgorMinar commented on Mar 31, 2018

    @IgorMinar
    Contributor

    oops. good catch. we'll fix this in rc.2 next week. sorry about the trouble...

  2. added
    area: packagingIssues related to Angular's creation of npm packages
    regressionIndicates than the issue relates to something that worked in a previous version
    on Mar 31, 2018
  3. added this to the needsTriage milestone on Mar 31, 2018
  4. modified the milestones: needsTriage, on Mar 31, 2018
  5. self-assigned this
    on Apr 2, 2018
  6. alexeagle commented on Apr 3, 2018

    @alexeagle
    Contributor

    Should be fixed by 7ca7720

  7. angular-automatic-lock-bot commented on Sep 13, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: packagingIssues related to Angular's creation of npm packagesfreq2: mediumregressionIndicates than the issue relates to something that worked in a previous versiontype: bug/fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions