search

Home  >  Q&A  >  body text

javascript - Error when running the command of vue source code

As shown:

伊谢尔伦伊谢尔伦2690 days ago748

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-07-05 10:59:38

    npm install --save-dev cross-env
    
    然后在package.json中添加cross-env,例如下面的形式
    
    "dev": "cross-env TARGET=web-full-dev ……"

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-07-05 10:59:38

    The error message indicates that there is a problem with the environment variables, and the TARGET variable is not set correctly. You can try running this command in Git bash.

    reply
    0
  • 大家讲道理

    大家讲道理2017-07-05 10:59:38

    You may need to add the target command to the basic command

    reply
    0
  • Cancelreply