J'ai enregistré .bowerrc. .bowerrc estPourquoi une erreur de syntaxe se produit-elle dans .bowerrc?
{
"directory": "bower_components",
"timeout": 120000,
"registry": {
"search":
"https://github.com",
}
}
mais quand je lance .bowerrc source, l'erreur se produit et retraçage dit
-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: `}'
Je ne comprends vraiment pas pourquoi happens.Is d'erreur de syntaxe il un problème? Comment puis-je résoudre ce problème ?