我希望从命令行设置Google Firebase功能。我可以成功部署,但当我尝试安装函数时。下面是完整的读数: npm ERR! Can't install /Users/[username]/Documents/firebaseNode/functions: Missing package version
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/[username]/.npm/_logs/2019-09-21T16_11_22_371Z-debug.log```
I h
当发生正常异常时,会输出如下堆栈跟踪:
util.js:38
case '%s': return String(args[i++]);
^
TypeError: Cannot convert object to primitive value
at String (unknown source)
at util.js:38:25
at String.replace (native)
at Object.<anonymous> (util.js:35:23)
at Ob
在运行测试套件时,当某些东西失败时,它还会显示堆栈消息,如下所示
Failures:
1) Should validate labels
Message:
Failed: No element found using locator: By.cssSelector(".container h1")
Stack:
NoSuchElementError: No element found .........................
.........
......
....
我们可以关闭这个堆栈输出