我的项目在VS 2017中开发了angular 4和.Net core 2.0。 还安装了很少的NPM软件包,以方便日期时间选择器,RTE和弹出窗口。还管道清理html。
在抛出错误后,我无法发布此解决方案。运行没有错误,但发布失败。
The command "node node_modules/webpack/bin/webpack.js --env.prod" exited with code 2
Can't resolve './../$$_gendir/ClientApp/app/app.module.browser.ngfactory' in 'C:\Projects\TestingProjects\DeploymentTesting\DeploymentTest2\DeploymentTest2\ClientApp' DeploymentTest2 Module not found
an't resolve './../$$_gendir/ClientApp/app/app.module.server.ngfactory' in 'C:\Projects\TestingProjects\DeploymentTesting\DeploymentTest2\DeploymentTest2\ClientApp' DeploymentTest2 Module not found
尝试从网络包中删除include:ClientApp,没有运气
请与我分享一个解决方案。