-
Notifications
You must be signed in to change notification settings - Fork 8
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
Breaking compile-time .ts error on module inclusion. #5
Comments
Published new version with npm using outDir + .d.ts + .js method. Also eliminated the previous styling requirements. |
v1.0.2 unfortunately still breaks:
|
Pushed version 1.0.9 to npm. Used different method with more stringent testing. Let me know how it goes. |
Still broken, unfortunately. With v1.0.9:
If you need a downstream project to help test, I've gone ahead and intentionally committed the broken Knartwork integration over in that repo, if that helps: https://github.com/cqframework/knartwork |
Please follow the instructions here: Note that CqlRunnerModule is now just RunnerModule |
I have gotten past those errors. The first error is resolved by renaming the CqlRunnerModule to RunnerModule and also listing the ApiService as a provider in the base module. The next three can be resolved with a change to the tsconfig:
Furthermore, in the applicaton.pug file, add this script before the main.bundle.js script: Now append the following to the "copy" Grunt task:
That should get you up and running. I have verified that this solution works with the knartwork project. |
Issued pull request with solution here: Will leave this issue open until I get your feedback. |
@c-schuler Thanks for the update! I'm hoping to look at this soon .. just been on work travel this week. |
@c-schuler Getting very close ... everything does seem to be building again and other updates for the Angular 4 release have been included. When adding a cql-runner component, I'm getting:
I'm not sure where CodeMirror is supposed to be defined. |
I am working on an NPM module with CodeMirror, but there is not a functional release yet... Please use the cql-runner 1.0.9 npm package. Sorry for the confusion... |
Seems to be happier with v1.0.9. I would suggest yanking the broken ones if possible before anyone tries them. |
When following the component usage instructions, it looks like there's an issue with the packaged TypeScript declarations. For example:
The text was updated successfully, but these errors were encountered: