【发布时间】:2016-08-21 02:11:28
【问题描述】:
我有两台计算机运行从 github 提取的相同代码。两台计算机都在 Ubuntu 16 上运行,一切都很好,直到将新的依赖项 (ngCsv) 添加到代码中。从那时起,我收到以下错误,但只在一台机器上:
angular.js:4053 Uncaught Error: [$injector:modulerr] Failed to instantiate module lergoApp due to:
Error: [$injector:modulerr] Failed to instantiate module ngCsv due to:
Error: [$injector:nomod] Module 'ngCsv' 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.
什么可能导致这个问题?
【问题讨论】: