ng-serve无法启动服务器

时间:2016-04-26 06:30:56

标签: angular

当我尝试从一个脚手架的Angular2项目(使用angular-cli创建)运行命令ChromeOptions options = new ChromeOptions(); options.addArguments("--disable-popup-blocking"); options.addArguments("chrome.switches","--disable-extensions"); driver = new ChromeDriver(options); 时,我收到以下错误:

  

ENOENT:没有这样的文件或目录,打开' src / client / tsconfig.json'

我读了这个post,并在ng-serve中添加了一个客户端文件夹,并将所有内容都移到其中。现在我收到以下错误:

  

无法阅读财产' concat'未定义的   TypeError:无法读取属性' concat'未定义的       在Angular2App._getTsTree`

任何想法都会出错?我正在使用最新的angular-cli

0 个答案:

没有答案
相关问题