0
我在ng-admin源代码中做了一些修改,所以我需要使用webpack重建它。编辑源代码后重新编译ng-admin
我安装从所有的package.json节点模块具有$ npm install
然后跑到webpack -d
其中所用的webpack.config.js。 我删除了, exclude: /node_modules[\\\/](?!admin-config)/
,因为我也需要重建admin-config。
所以现在我把所有的JS,CSS和地图文件, 但是当我尝试运行应用程序,我得到这个错误:
Error: [$injector:modulerr] Failed to instantiate module ng-admin due to:
Error: [$injector:modulerr] Failed to instantiate module ui.select due to:
Error: [$injector:nomod] Module 'ui.select' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
我确信ui.select安装为节点模块。
出了什么问题?