node-lessons
node-lessons copied to clipboard
lesson7中 mocha-phantomjs运行时提示phantomjs terminated with signal SIGSEGV
搜素了下 好像是phantomjs在mac下不一定能很好的运行? 说是要找到安装的包执行 upx -d phantomjs ? 参照此方法未解决 求指点。。。
同样遇到此问题哈
any solution?
+1
https://github.com/nathanboktae/mocha-phantomjs/issues/245 建议使用mocha-phantomjs-core 作者已经说了 mocha-phantom-core is future 原来的mocha-phantom他也不会再维护了
mocha-phantomjs --path /usr/local/bin/phantomjs ./index.html 执行这行命令就可以看到测试结果