0
我註冊了.bowerrc。 .bowerrc是爲什麼在.bowerrc中發生語法錯誤?
{
"directory": "bower_components",
"timeout": 120000,
"registry": {
"search":
"https://github.com",
}
}
但是當我運行源.bowerrc,錯誤發生和回溯說
-bash: directory:: command not found
-bash: timeout:: command not found
-bash: registry:: command not found
-bash: search:: command not found
-bash: https://github.com,: No such file or directory
-bash: .bowerrc: line 8: syntax error near unexpected token `}'
-bash: .bowerrc: line 8: `}'
我真的不明白爲什麼語法錯誤happens.Is有什麼問題嗎?我怎樣才能解決這個問題?