【问题标题】:I don't install angular 4 width angular-froala-wysiwyg. who can help me?我不安装 angular 4 width angular-froala-wysiwyg。谁能帮我?
【发布时间】:2018-08-11 08:25:32
【问题描述】:

我不安装 angular 4 width angular-froala-wysiwyg。它通知一个错误“

  1. 模块的元数据版本不匹配 C:/Users/Thanhtung/Desktop/abitstore/abitstore.vn/node_modules/angular-froala-wysiwyg/index.d.ts, 找到版本 4,预期为 3,解析符号 AppModule C:/Users/Thanhtung/Desktop/abitstore/abitstore.vn/src/app/app.module.ts, 解析符号 AppModule 中 C:/Users/Thanhtung/Desktop/abitstore/abitstore.vn/src/app/app.module.ts, 解析符号 AppModule 中 C:/Users/Thanhtung/Desktop/abitstore/abitstore.vn/src/app/app.module.ts 在 syntaxError (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler\bundles\compiler.umd.js:1729:34) 在 simpleInContext (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler\bundles\compiler.umd.js:24979:23) 在 StaticReflector.simplify (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler\bundles\compiler.umd.js:24991:13) 在 StaticReflector.annotations (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler\bundles\compiler.umd.js:24418:41) 在 _getNgModuleMetadata (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler-cli\src\ngtools_impl.js:138:31) 在 _extractLazyRoutesFromStaticModule (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler-cli\src\ngtools_impl.js:109:26) 在 Object.listLazyRoutesOfModule (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler-cli\src\ngtools_impl.js:53:22) 在 Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@angular\compiler-cli\src\ngtools_api.js:91:39) 在 AotPlugin._getLazyRoutesFromNgtools (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@ngtools\webpack\src\plugin.js:241:66) 在 _donePromise.Promise.resolve.then.then.then.then.then (C:\Users\Thanhtung\Desktop\abitstore\abitstore.vn\node_modules\@ngtools\webpack\src\plugin.js:495:24) 在

    "。谁能帮帮我?

【问题讨论】:

  • 尝试安装 angular4 而不是 angular5
  • 我不使用 angular 5,因为我的项目使用主题 adminlte.io 只使用 angular 4
  • 哦,它可能是 angular-froala-wysiwyg 模块 - 将其回滚到依赖 angular4 的版本
  • 在文档中找不到依赖于 Angular 4 的指令安装版本,我搜索了 google 却找不到。你能为我说一个明确的解决方案吗

标签: angular


【解决方案1】:

在您的帖子中使用一些人们可以更好地理解的样式实际上我无法确定路径/代码或您的文字在哪里

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-20
    • 1970-01-01
    • 1970-01-01
    • 2022-10-15
    • 1970-01-01
    • 2022-08-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多