question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng-xi18n throws exception for using full path in templateUrl

See original GitHub issue

I have components where I use full path in templateUrl

@Component({
  templateUrl: 'app/components/controls/checkbox/checkbox.html'
})

I am aware that I can use moduleId: module.id, but I want to keep full path to html file for my deployment purpose. When I run ng-xi18n, I am getting an error:

Error: Compilation failed. Resource file not found: 
C:/Users/TestUser/Source/Workspaces/MyApp/src/app/
components/controls/checkbox/app/components/controls/checkbox/checkbox.html

Is there a way to solve this issue without using moduleId: module.id? Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ocombecommented, Jun 8, 2017

yes, that’s why I removed the “can be closed” flag

0reactions
angular-automatic-lock-bot[bot]commented, Sep 12, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular/angular - Gitter
I have some problems with inner-element animations not firing when there in an animation on the parent element (works in version 5.0.2 and ......
Read more >
Zowe Documentation - Zowe Docs
Fixed an issue with the App Server throwing exceptions when authorization ... Add the full path of your installation directory to your PATH...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found