I try to install the gulp assembly on my disk, clone it from the repository, run npm install , and get an error:

"C: \ Program Files \ Sublime Text 3 \ sublime_text.exe. - Unexpected token P"

Sublime Text is the default editor. The user variable EDITOR contains the path that is specified in the error text. How can this be fixed, and why does the node swear on the path?

  • and where are you doing the npm install command? Does npm exist in variable environments and is it the right way? And if you can a screenshot of the console. Or write down the entire result in a file - Vasily Barbashev
  • PATH variable contains the correct path to npm - FitzgeraldFox
  • in \node_modules\npmconf\npmconf.js on line 363 look at what comes to f calling console.log(f) and running npm i again - Vasily Barbashev
  • The npmconf folder and all its contents are generated when npm i is started, and then deleted - FitzgeraldFox

0