Local gulp not found (Try running: npm install gulp)

前端 未结 5 1930
野趣味
野趣味 2021-01-31 13:12

I created a module (webapp-module-storage) which has the following definitions:

package.json

{
  \"dependencies\": {
    ..         


        
5条回答
  •  后悔当初
    2021-01-31 13:43

    npm link gulp --no-bin-links
    Run this

    where npm link gulp creates a local link to globally installed gulp module and --no-bin-links argument will prevent npm from creating symlinks for any binaries the package might contain.

    You can't translate symlinks to a synchronized folder on Windows share, so you will need '--no-bin-links' to go around it.

    Use it for any filesystem that doesn’t support symbolic links.

    Symlinks, or symbolic links, are “virtual” files or folders which reference a physical file or folder located elsewhere, and are an important feature built in to many operating systems, including Linux and Windows.

提交回复
热议问题