最近在看angularJS开发下一代web应用,下载了源码之后,npm install karma jasmine
运行 karma start karma.conf.js
缺报错:ReferenceError: JASMINE is not defined
请问是为什么?
源码应该不需要改动吧?是不是我有什么没有下载好?书上好像没有提到,希望有经验的大神提示下
某草草2017-05-15 17:10:42
There are errors in the karma configuration file (probably because the writing method of the configuration file has changed due to different versions). I have read the book you mentioned and practiced it... I don’t have any impression. I vaguely remember that there are many Pitfalls (mostly because the current version is different from when the book was written)
Personally, I haven’t come across anyone who uses karma in production, maybe I don’t have enough vision... I feel like this book is good for amateur hands-on practice, after all, it’s a bit behind, so I’ll give it a try
Search randomly and search again
I don’t know if it works