Pattern pattern = Pattern.compile("^Hello world!$");
远程:----->检测到Node.js应用 远程:解析错误:第8行,第8列的值之间应有分隔符 远程:!无法解析package.json
答案 0 :(得分:0)
在此处验证JSON:
https://jsonformatter.curiousconcept.com/
/**
* @ORM\Column(type="boolean")
*/
protected $isManager = true;
在{
"name": "deployingdemo",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"ejs": "^6.11.3",
"express": "^10.16.3"
}
}
之后删除,
时,我没有收到任何错误或信息消息。
如果Heroku感到困惑,您可以尝试:用"start": "node app.js"
代替\"
或只删除'
行。