-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run unit 单元测试失败 #154
Comments
Are you sure you installed the project correctly? The npm install seem to be missing Phantomjs, plus the port is already in use |
找到原因了,全局装了 phantomjs ,卸载后,重新安装phantomjs-prebuilt就好了 |
@posva I get it! There is a phantomjs in global. When i remove it and reinstall phantomjs-prebuild, it's ok! |
I'm still seeing an error about Phantomjs not being able to start. You may need to rm -r node_modules and npm install |
我在karma.conf.js 里面配置process.env.PHANTOMJS_BIN = 'node_modules/phantomjs-prebuilt/bin/phantomjs' 之后 又出现新错误:
The text was updated successfully, but these errors were encountered: