Comments (5)
same here... when i compile with --aot
[EDIT]
One quick fix (just for releasing) would be comment out in the file markdown-to-html.service.ts the line with ErrorObservable (line 4)
and remove type definition which is really not necessary because implicit on the handError method (line 25)
import { Injectable } from '@angular/core';
import { Http, Response } from '@angular/http';
import { Observable } from 'rxjs/Observable';
// import { ErrorObservable } from 'rxjs/observable/ErrorObservable';
from
handleError(error: Response | any): ErrorObservable<string> {
to
handleError(error: Response | any) {
from ngx-markdown.
I updated Angular-CLI to 1.0.0-beta.32.3 and solved the typing error when compiling with AoT.
Please upgrade to version 0.0.9 to get the fix.
I'll close the issue, don't hesitate to reopen if there is anything!
from ngx-markdown.
I'll update angular-cli .. I'll come back to you!
from ngx-markdown.
@pmcalabrese Thx for the insight i'll make the fix tonight
from ngx-markdown.
@jfcere no problem 👍
from ngx-markdown.
Related Issues (20)
- Apply font color to list in ngx markdown
- How to stop HTML parsing in ngx-markdown ? HOT 2
- Putting a markdown image inside markup tags causes odd rendering behavior HOT 1
- Clipboard button container styling HOT 2
- Update to Angular 17? HOT 4
- need "Standalone" angular component project example HOT 2
- Support standalone components and lazy loading in angular 15+ HOT 5
- Issue with upgrade to ngx-markdown 17 HOT 2
- Clipboard button not working with directive katex HOT 4
- Angular 16 hydration-related issues HOT 8
- not supporting for angular 15 HOT 1
- Marked 11.0.0 support (Error: renderer 'options' does not exist) HOT 6
- How to pass mermaid RunOptions.suppressErrors=false while rendering mermaid component
- angular v17 standalone HOT 2
- Upgrade to Marked 11.1.1+ HOT 1
- Line highlight support in static code blocks
- Embedded Post from Twitter(X) doesn't work properly. HOT 2
- Missing header ids after updating from v16 to v17 HOT 2
- MarkedRenderer stopped working without any changes other than in package.json when going from 13.1 to 16 HOT 3
- Nginx configuration. ERROR Error: renderer 'ɵNgxMarkdownRendererExtendedForExtensions' does not exist HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-markdown.