Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.
MIT License
185 stars 82 forks source link

angular2-color-picker/index.ts' is not under 'rootDir' #68

Open dhagan opened 7 years ago

dhagan commented 7 years ago

Folks,

I cannot build, I get teh above error . My tsconfig contains "rootDir": "wwwroot".

I was able to work around by deleting all .ts where there was a duplicate .d.ts as suggested by the posts below.

I could have it wrong, but I believe the recommendation is to to change the .npmignore and ignore - .ts !.d.ts

According to this post, https://github.com/valor-software/ng2-select/issues/161

which references this commit change the .npmignore https://github.com/valor-software/ng2-select/commit/393674c06417e63a2ff4dcfb3a529aa8df173dd7