卡玛 - 配置文件不存在 [英] Karma - config file does not exist

查看:220
本文介绍了卡玛 - 配置文件不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我试图去通过AngularJS 原创教程并在步骤2中,我M应该运行./scripts/test.sh,我得到一个错误说

Hi I'm trying to go through the AngularJS original tutorial and in step 2 where I'm supposed to run ./scripts/test.sh, I get an error saying

[ERROR] config - Config file does not exist!

我检查/config/karma.conf.js和文件确实是存在的。

I've checked /config/karma.conf.js and the file indeed does exist.

我运行最新版本的节点,NPM和因果报应的。

I'm running the latest version of node, npm, and karma.

我想重新安装他们会解决这个问题(由AngularJS团队在谷歌论坛的帖子我找到)。

I thought re-installing them would fix the issue (as mentioned by a member of the AngularJS team on a Google forum post I found).

我仍然得到错误但是。任何人有什么建议吗?

I still get the error however. Anyone have any suggestions?

编辑:我尝试运行/config/karma.conf.js,它给了一个错误说茉莉花是不确定的,即使安装了茉莉花。我必须设置一个路径或东西吗?我已经茉莉全球的装机量。

I tried running /config/karma.conf.js and it gave an error saying "JASMINE is undefined," even though Jasmine is installed. Do I have to set a path or something? I have jasmine installed globally.

推荐答案

您可能需要安装噶

步骤:


  1. NPM安装发电机 - 卡玛

  2. 哟人缘

这篇关于卡玛 - 配置文件不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆