我搭建了一个新的Asp.net Core Angular 2 SPA与Template,并且想要现在评估Kendo ng2,但是我失败了。特别是当我导入GridModule时,我得到了无法解决的异常。如何在Visual Studio 2015中使用Kendo for Angular 2 Asp.Net核心SPA
在VS2015项目中,我如何开始使用Kendo for ng2?
安装Node
和npm
版本:
C:\Windows\system32>node -v v6.9.4
C:\Windows\system32>npm -v 4.1.2
异常:
An unhandled exception occurred while processing the request.
Exception: Call to Node module failed with error: Prerendering failed because of error: Error: Cannot find module 'C:\dev\ASP.NET-CORE\aspnetcore-k2-master\ClientApp\dist\main-server' at Function.Module._resolveFilename (module.js:469:15)
Full Stacktrace is here.
我跟着那个Kendo Grid归档当我在上启动Web UI是例外。
备注:Kendo Button入门指南正常工作!
预先感谢您的宝贵支持
我followe再次,教程:http://developer.telerik.com/products/kendo-ui/single-project-full-stack-angular/。在第一次启动时,我得到了这个异常: 找不到模块:错误:无法解析模块'@ progress/kendo-angular-intl'。我在package.json中添加了“@ progress/kendo-angular-intl”包:“*”。现在我得到异常:异常:调用节点模块失败,出现错误:TypeError:ctorParameters.map不是函数 在ReflectionCapabilities.parameters(C:\ Source \ VSTS \ AspNet.Core.Playground \ TruckerWebApp \ node_modules \ @angular \ core \ bundles \ core.umd.js:2118:51) –
如上所述,您是否在添加kendo包后重新生成了vendor.js文件,或者查看上面列出的讨论? –
我做到了。我给你发了封邮件 –