Node npm windows file paths are too long to install packages

后端 未结 9 1473
野性不改
野性不改 2020-11-29 17:58

Situation

I want to use gulp and related front-end tool chains in Windows-hosted development environments. I\'m hitting a wall trying to use gulp pl

9条回答
  •  情话喂你
    2020-11-29 18:42

    This is what finally fixed it for me...

    After installing gulp and receiving errors, run... gulp

    When you see a package failing, install it manually with --no-bin-link.

    sudo npm install {package} --no-bin-link
    

    Where {package} is the package that is having problems.

    After all of this I was receiving an Error in plugin 'gulp-notify' Message: not found: notify-send.

    This was due to a plugin issue with Vagrant. You can either turn off notifications..

    export DISABLE_NOTIFIER=true;
    

    Or install the plugin with Vagrant.

    Best of luck.. I spent a long time on this, even after following a lot of people's recommendations.

    Brandon

提交回复
热议问题