【问题标题】:I get an error message whenever I try to run the cypress run --record --key xxxx in VScode terminal每当我尝试在 VScode 终端中运行 cypress run --record --key xxxx 时都会收到一条错误消息
【发布时间】:2020-05-28 13:11:24
【问题描述】:

每当我尝试在 VScode 终端中运行 cypress run --record --key xxxx 时都会收到一条错误消息。 这是错误: cypress:术语“cypress”未被识别为 cmdlet、函数、脚本文件或可操作的名称 程序。检查名称的拼写,或者如果包含路径,请验证路径是否正确并重试。

【问题讨论】:

    标签: javascript automation integration cypress


    【解决方案1】:

    您似乎缺少 npx 前缀,请重试:

    npx cypress run --record --key <key goes here>
    

    【讨论】:

    • 哇哦。 @kidby 我现在已连接。
    猜你喜欢
    • 2023-02-08
    • 2021-10-13
    • 1970-01-01
    • 2021-10-11
    • 1970-01-01
    • 2017-11-30
    • 2018-10-07
    • 2021-02-02
    • 1970-01-01
    相关资源
    最近更新 更多