core: RC6: import `@angular/core/src/facade/lang` causes traceur error

I’m submitting a … (check one with ā€œxā€)

  • bug report => check the FAQ and search github for a similar issue or PR before submitting
  • support request => check the FAQ and search github for a similar issue before submitting
  • feature request

Current behavior

Running an Angular2 application with ng2-translate fails because it looks for traceur.js but fails to find it. In RC6, you should import the bundles as described by @robwormald in his gist.

screen shot 2016-09-01 at 10 21 06

As I believe, you where already in contact with @robwormald for this?

Expected/desired behavior

To just work out of the box 😃.

Reproduction of the problem

Upgrade to RC6, load in the bundles instead and it will fail with the traceur error.

What is the motivation / use case for changing the behavior?

Because ng2-translate seems to be unusable in RC6/

Please tell us about your environment:

  • ng2-translate version: 2.4.2
  • Angular version: 2.0.0-rc.6
  • Browser: all
  • Language: TypeScript (1.8)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 30

Most upvoted comments

yes, I’m on it right now, struggling with the changes to the test API which breaks my tests (the code of the lib is already updated), expect a release soon

yeah they really fucked things up 😦 got a few friends helping me and we cannot get the setup working šŸ˜„

@SamVerschueren, thank you for explaining. I mapped as you mentioned here fixed my issue.