Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT: no such file or directory #40

Closed
sciborrudnicki opened this issue Aug 3, 2017 · 1 comment
Closed

ENOENT: no such file or directory #40

sciborrudnicki opened this issue Aug 3, 2017 · 1 comment

Comments

@sciborrudnicki
Copy link
Collaborator

sciborrudnicki commented Aug 3, 2017

Hi,

(angular plugin) Error: ENOENT: no such file or directory, open '/package/markdown/node_modules/@angular/core/@anular/my-component-tpl.html'
../../markdown/node_modules/@angular/core/@angular/core.es5.js

I see that rollup-plugin-angular is trying to open files from commented fragments like for example from file core.es5.js

 * ```typescript
 * \@Component({
 *   selector: 'my-component',
 *   templateUrl: 'my-component-tpl.html',
 *   animations: [
 *     trigger("myAnimationTrigger", [
 *       state(...),
 *       state(...),
 *       transition(...),
 *       transition(...)
 *     ])
 *   ]
 * })
 * class MyComponent {
 *   myStatusExp = "something";
 * }
 * ```

When i remove all sentences with templateUrl from core.es5.js everything seems to be okay.

@sciborrudnicki
Copy link
Collaborator Author

Fixes: v0.4.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant