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

'rootDir' is expected to contain all source files. #28

Open
aj92singh opened this issue Jan 4, 2017 · 4 comments
Open

'rootDir' is expected to contain all source files. #28

aj92singh opened this issue Jan 4, 2017 · 4 comments

Comments

@aj92singh
Copy link

Severity Code Description Project File Line Suppression State
Error TS6059 Build:File 'Portal/src/Portal1/node_modules/angular2-busy/index.ts' is not under 'rootDir' 'Portal/src/Portal1/app'. 'rootDir' is expected to contain all source files.

@AndreyPatseiko
Copy link

have the same problem

@kondi0
Copy link

kondi0 commented Jul 5, 2017

Same here:

/node_modules/angular2-busy/index.ts' is not under 'rootDir'

@stpa81
Copy link

stpa81 commented Aug 9, 2017

Did you find a solution for this problem?

@Arikael
Copy link

Arikael commented Nov 6, 2017

It is still a problem.
Maybe related to this?
microsoft/TypeScript#6964
https://github.com/ag-grid/ag-grid-angular/issues/108#issuecomment-269863800

I just manually deleted index.ts from /node_modules and everything works (described in the second link above)
The problem is that angular2-busy is published with the TypeScript files which isn't recommended even for TypeScript projects.
I assume the solution would be to not publish any .ts files.

EDIT:
Just import from angular2-busy/build and not from angular2-busy.
This fixes it.

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

5 participants