-1
我有两台计算机运行相同的代码从github拉。两台电脑都在Ubuntu 16上运行,一切都很好,直到新的依赖关系(ngCsv
)被添加到代码中。从那以后,我得到以下错误,但只在一台机器上:AngularJS错误:模块'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.
什么可能导致此问题?
谢谢埃米尔,但它似乎没有帮助。我做了npm install --save ngcsv,它将其添加到package.json中 - 错误仍然相同。 – Jeffrey