-
Notifications
You must be signed in to change notification settings - Fork 80
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
Cannot find module 'angular2-markdown' #28
Comments
Having the same issue, have had to revert back to 1.3.5 for now |
Sorry I didn't test it. I will push new update to night mean while use 1.3.5. Im trying to provide solution for all build systems. |
Now, this issue got resolved. Pease upgrade to 1.3.7 version. @ryanpflem . please close this thread if it's working for you. Thanks. |
Still having same issue, tried 1.3.7 and 1.3.8 which is current default |
I have created a new project using ng cli. Its working fine for me. How are u doing this. |
Ah, think im on an old version of ng cli, gonna rebuild in latest version later |
Cool! I will keep this thread open. Close it after you are done. Thanks:) |
I've tested this on a fresh install with the most up to date version of @angular/cli and am still getting this issue. |
I just tried to import with v.1.3.8 and am still getting the same error. |
Me too getting the same issue. |
I rewrote the complete build system. Please check new readme doc. @ https://github.com/dimpu/angular2-markdown |
When importing in app.module.ts as
import { MarkdownModule } from 'angular2-markdown';
console error is:
Cannot find module 'angular2-markdown'
When import statement is changed to
import { MarkdownModule } from 'angular2-markdown/bundles';
Cannot find module 'angular2-markdown'
error goes away.When import statement is
import { MarkdownModule } from 'angular2-markdown/bundles';
and
@NgModule
import isMarkdownModule.forRoot()
new console error is
Can't resolve all parameters for MarkdownService: (?).
originalStack:
"Error: Can't resolve all parameters for MarkdownService: (?). at SyntaxError.ZoneAwareError (http://localhost:4200/vendor.bundle.js:147841:33) at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:103421:16) at new SyntaxError (http://localhost:4200/vendor.bundle.js:11245:16) at CompileMetadataResolver._getDependenciesMetadata (http://localhost:4200/vendor.bundle.js:25641:31) at CompileMetadataResolver._getTypeMetadata (http://localhost:4200/vendor.bundle.js:25516:26) at CompileMetadataResolver._getInjectableMetadata (http://localhost:4200/vendor.bundle.js:25504:21) at CompileMetadataResolver.getProviderMetadata (http://localhost:4200/vendor.bundle.js:25746:40) at http://localhost:4200/vendor.bundle.js:25704:49 at Array.forEach (native) at CompileMetadataResolver._getProvidersMetadata (http://localhost:4200/vendor.bundle.js:25671:19) at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4200/vendor.bundle.js:25355:50) at CompileMetadataResolver.getNgModuleSummary (http://localhost:4200/vendor.bundle.js:25211:52) at http://localhost:4200/vendor.bundle.js:25282:72 at Array.forEach (native) at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4200/vendor.bundle.js:25269:49)"
Any thoughts on how to get module working?
Current dependencies:
The text was updated successfully, but these errors were encountered: