如何在Ubuntu 16.04的PhpStorm中安装Gulp?

如何在Ubuntu 16.04的PhpStorm中安装Gulp?,gulp,Gulp,我需要在PhpStorm中安装Gulp 我的操作系统:ubuntu 16.04。 我的PhpStorm:2016.3.3 如何在PhpStorm中安装Gulp 我需要使用gulpfile.js 编辑1: 运行此命令后,显示此错误: W: GPG error: https://deb.nodesource.com/node_7.x xenial InRelease: The following signatures couldn't be verified because the public k

我需要在PhpStorm中安装Gulp

我的操作系统:ubuntu 16.04。
我的PhpStorm:2016.3.3

如何在PhpStorm中安装Gulp

我需要使用gulpfile.js

编辑1:

运行此命令后,显示此错误:

W: GPG error: https://deb.nodesource.com/node_7.x xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
W: The repository 'https://deb.nodesource.com/node_7.x xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
sudo apt get install nodejs

显示错误:
E:无法对某些包进行身份验证

编辑2:

运行后
sudo apt get update
显示此错误:

W: GPG error: https://deb.nodesource.com/node_7.x xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
W: The repository 'https://deb.nodesource.com/node_7.x xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
首先,您必须安装和安装。使用Linux,您可以使用

sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
完成此操作后,您可以使用下一个命令安装gulp:

npm init
npm install gulp-cli -g
npm install gulp --save-dev
这分别是:

  • 建立一个新的npm项目
  • 安装
    gulp
    命令,并且必须在计算机上处于全局位置
  • 安装gulp以访问gulp文件,并将其作为开发工具添加到
    package.json
    文件中
  • 一切都结束了

    JavaScript的优点是,您需要源代码来运行外部包或库。即使使用ASP.NET应用程序,您也可以将所有内容组合起来,以传输SaSS或SCS。

    首先,您必须安装并安装。使用Linux,您可以使用

    sudo apt-get update
    sudo apt-get install nodejs
    sudo apt-get install npm
    
    完成此操作后,您可以使用下一个命令安装gulp:

    npm init
    npm install gulp-cli -g
    npm install gulp --save-dev
    
    这分别是:

  • 建立一个新的npm项目
  • 安装
    gulp
    命令,并且必须在计算机上处于全局位置
  • 安装gulp以访问gulp文件,并将其作为开发工具添加到
    package.json
    文件中
  • 一切都结束了


    JavaScript的优点是,您需要源代码来运行外部包或库。您甚至可以使用ASP.NET应用程序将所有内容组合起来,以传输SaSS或SCS。

    @Ali请先尝试maby
    sudo apt get update
    ,然后再尝试一次?在此处找到:@Ali请先尝试maby
    sudo获得更新
    ,然后再试一次?可在此处找到: