无法从最新模板启动 ASP.NET 样板前端

Cannot start ASP.NET Boilerplate frontend from latest template

我昨天(2017 年 8 月 15 日)创建了一个新模板,当我 运行 npm start 使用 npm install 安装所有前端依赖项后,我收到很多错误,例如:

Module not found: Error: Can't resolve '@shared/session/app-session.service'
Module not found: Error: Can't resolve '@shared/app-component-base'
Module not found: Error: Can't resolve '@shared/service-proxies/service-proxies'
Module not found: Error: Can't resolve '@abp/multi-tenancy/abp-multi-tenancy.service'
Module not found: Error: Can't resolve '@abp/settings/setting.service'
Module not found: Error: Can't resolve '@abp/notify/notify.service'
Module not found: Error: Can't resolve '@abp/features/feature-checker.service'
Module not found: Error: Can't resolve '@abp/localization/localization.service'

如果我查看 node_modules,我发现我确实有 abp-ng2-moduleabp-web-resources 文件夹。

我认为模板中缺少一个或多个依赖项。

删除 node_modules 文件夹并使用 yarn 安装