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

Error with Angular5 #8

Open
wkjesus opened this issue Dec 27, 2017 · 4 comments
Open

Error with Angular5 #8

wkjesus opened this issue Dec 27, 2017 · 4 comments

Comments

@wkjesus
Copy link

wkjesus commented Dec 27, 2017

when include the angular2-knob, and run ng serve th webpack show this error

node_modules/angular2-knob/index.ts is not part of the compilation output. Please check the other error messages for details.

i try include in the tsconfig.ts without succes.

@szeeshanali
Copy link

Having same issue.

@elliottsaray
Copy link

Also having this issue.

@qwertoyo
Copy link

I had the same issue, fixed adding "./node_modules/angular2-knob/**/*.ts" to the "include" array of the tsconfig.json.

It works, but is it the right way to do it? because we're compiling an external .ts source in the host application, and the settings for the typescript compiler of angular2-knob could be different than the host app. AFAIK* the compiled js should be published instead.

*not that much, regarding npms

@xmlking
Copy link

xmlking commented Aug 17, 2018

updated this lib to make it work with angular 6.x

https://github.com/xmlking/angular-knob

demo : https://xmlking.github.io/ngx-starter-kit/dashboard/experiments/knob

will send PR soon.

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