在尝试将jquery.min.js添加到angular-cli.json时,EACCESS权限被拒绝

时间:2017-10-01 11:50:16

标签: jquery angularjs json npm permission-denied

我在我的角度项目上安装了npm,通过终端添加bootstrap,jquery和tether,没有错误。但是当我尝试编辑angular-cli.json文件来添加脚本时,我收到了eaccess错误:无法保存' .angular-cli.json':发生系统错误(EACCES:权限被拒绝,打开' /home/kmx/angular/projetos/passaroUrbano/.angular-cli.json')。

任何想法如何解决这个问题?

    "scripts": [
    "../node_modules/tether/dist/js/tether.min.js",
    "../node_modules/jquery/dist/jquery.min.js",
    "../node_modules/bootstrap/dist/js/bootstrap.min.js"

  ],

0 个答案:

没有答案