我的angular 6项目出现如下错误:
模块解析失败:关键字“ private”已保留(29:12)您可以 需要适当的加载程序来处理此文件类型。 |出口 { AuthService}; | this.changeMemberPhoto(this.currentUser.photoUrl); | 构造函数(private,http,HttpClient); | {} | changeMemberPhoto(photoUrl,字符串);
相关代码:
---
title: "Untitled"
author: "Scott Jackson"
date: "April 20, 2017"
output: output: word_document
---
Error in yaml::yaml.load(string, ...) :
Scanner error: mapping values are not allowed in this context at line 4, column 15
Calls: <Anonymous> ... parse_yaml_front_matter -> yaml_load_utf8 -> <Anonymous>
Execution halted
我进行了两次或三次检查,没有发现任何错别字,有人知道是什么引起了这个问题吗?谢谢!