Installing gulp-sass throwing error

This question seems to be repeated by this link , but I cannot figure out how to map a drive letter or share a network. I am very sorry to repeat, but I need help.

I have a command line with a default directory pointing to my www wamp server folder.

D:\wamp\www\ 

I have another gulp plugin like gulp -minify. It works fine without errors. But when I try to install gulp-sass, it gives an error

error screenshot

This happens to me in most cases, for example, I try to install a plugin such as optipng. It shows the same error. It looks like he is looking for the "script" folder inside www, which is not there. But the script folder is inside the c drive where the nodejs folder exists. The exact path is shown below.

C: \ Program Files \ nodejs \ node_modules \ npm \ scripts

I do not understand why it is looking in my working directory?

D: \ WAMP \ WWW \ Scripts \ install.js

0
source share
1 answer

The only problem was that autostart set the path to the command line. A few years ago, I set the path to my command line D:\wamp\www\ from the registry HKEY_CURRENT_USER\Software\Microsoft\Command Processor

You can access the registry by typing "regedit" in the startup dialog (window + r)

I just deleted the startup file and started working fine.

Credit link

0
source

All Articles